Does Apache need to be stopped to edit "/etc/apache2/sites-available/default"?
Posted
by webworm
on Stack Overflow
See other posts from Stack Overflow
or by webworm
Published on 2010-03-18T21:40:52Z
Indexed on
2010/03/18
21:41 UTC
Read the original article
Hit count: 323
I am attempting to edit the "default" file located at ..
"/etc/apache2/sites-available/default"
on my Ubuntu machine running Apache 2.2.8.
I want to do this in order to enable the use of .htaccess files. I have downloaded the "default" file and edited it and now I am trying to upload it back to the server via SFTP. I keep getting permission denied errors.
Could it be because Apache is running and making use of the file? I am an admin on the machine so I would expect to be able to overwrite the file. Thanks for any assistance.
© Stack Overflow or respective owner