Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I'm trying to edit the httpd.conf file so I can use django on my Apache server, but I get an error message saying, "Please check if this file is opened in another program," when I try to save the changes. The server is not running while I try to save. I'm using The BitNami DjangoStack package. Where else could this file be being used?

share|improve this question

migrated from stackoverflow.com Jan 22 '13 at 0:12

This question came from our site for professional and enthusiast programmers.

    
How are you trying to open the file? vim? notepad ++ ? And which OS ? –  iamkhush Jan 21 '13 at 17:10

2 Answers 2

It seems like you are using Windows stack. You can solve this by running your editor program as Administrator.

Please have a look at following related questions 1. Unable to edit and save a file on remote machine using notepad++ 2. Notepad++ “Check if file is open in another program” No other program open

If using Linux, then you can open httpd.conf as root user or by using sudo command.

share|improve this answer

That's the error message you get when you try to save in Notepad++ when you do not have permission to save it. (In Notepad, the message will be "You do not have permission to save in this location. Contact the administrator to obtain permission."

You need to right click the Notepad(++) application link (the desktop icon or start menu item) and choose "Run as administrator".

share|improve this answer

Your Answer

 
discard

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