Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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 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

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

You must log in to answer this question.