Sign in through GitHub

Please read for an updated status on RailsCasts:

Learn more or hide this

Shaunak Vairagare's Profile

GitHub User: shaunakv1

Site: http://www.georati.com/shaunak/resume/

Comments by Shaunak Vairagare

Avatar

Just learning about Capistrano. Awesome tutorial!
Can you please explain what exactly is this line for?

sudo "ln -nfs #{current_path}/config/apache.conf /etc/apache2/sites-available/#{application}"

I can tell that the apache.conf included with the code in config directory is being symlinked in sites-available. But why is this necessary? I have already setup my apache by adding the exact same virtual host in my 'sites-enabled' directory and it works. So why copy it in sites-available, especially if apache doesn't read the config form that directory?