Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I tried to edit httpd.conf but unfortunately the file appears to be in use by another process and so I can't save the changes even when I stop the apache process from the task menu.

share|improve this question
2  
Not making a full answer, because i'm not sure, but iirc, apache for windows runs in c:\Program files\ --- editing anything in there requires elevating your privledges. Try running your text editor as an administrator ... –  Jason Jul 19 '10 at 2:06

3 Answers 3

Just like Jason said in his comment -- run the editor with Administrator's rights. I had the same problem. Right-clicked on my Notepad++ launcher, chose "Run as administrator", opened the file and off you go!

share|improve this answer
    
I'm running my editor as administrator but the issue persists! –  Wouter Lievens Oct 22 '11 at 9:02

I know this is a necro, but I found this after a quick googling and wanted to help out any other weary netizens.

It's because the permissions are set to read only for the users group during the apache installer. To fix this. Rightclick the file, select properties. On the security tab, select users and click 'edit'. Then add write privileges to the users group.

share|improve this answer

There's a good explanation for this problem, it's because of VirutalStore

http://blog.netscraps.com/bugs/apache-httpd-conf-changes-ignored-in-windows-7.html

share|improve this answer
1  
Please don't just link to external sites, try to add something in the future. –  Chopper3 Sep 3 '11 at 9:40

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.