LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   httpd.conf backup problem (https://www.linuxquestions.org/questions/linux-newbie-8/httpd-conf-backup-problem-260184/)

Fredstar 11-28-2004 12:18 PM

httpd.conf backup problem
 
Before i started to mess around setting up name based virtual host i made a backup of my httpd.conf file. well i messed up and instead of fixing it (for some reason my nano editer replaces * with a J made it hard to revert to old script) but now when i try to restart or stop the service it tells me that it can not open the httpd.conf.

to try and solve this i changed the permissions of the file to what the old file permission was (root : root) but still no go with trying to start apache.

thanks

pingswept 11-28-2004 12:58 PM

Did you replace your screwed up file with the backup?

What's the output if you type:

ls -l

in the directory containing httpd.conf?

Fredstar 11-28-2004 01:16 PM

ya in the post above i posted two problems im having.

The main one is with my httpd.conf file not being read. After playing around i found that with FC3 you need to chcon -Z the file, not sure why but i followed a tutorial, and it started to work.

Second was my problem with nano editer. When im in nano all keys work fine but when i use the * key it gives me j, not sure how to fix this or if anyone else is having that problem.

thanks


All times are GMT -5. The time now is 09:25 AM.