LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   Apache wont start (https://www.linuxquestions.org/questions/linux-server-73/apache-wont-start-603741/)

techi 12-01-2007 08:46 AM

Apache wont start
 
Has anyone came across this problem before??
Apache fails to start when I move the web pages to a new area.
I have changed the settings in the httpd.conf file but it wont start when I change the document directory to the new location. When I change it back to how it was it starts up fine.

/var/www/html is the default location when I try to change it to /www/html it fails to start.

I am using Fedora 5. With Redhat I didn't have this problem.

Cheers

w3bd3vil 12-01-2007 09:12 AM

have you created the direcory /www/html with proper permissions.
Try
Quote:

chmod 777 /www/html
and see if that works out for you.

techi 12-02-2007 08:30 AM

Tried it but still the same. But thanks any way

zhoun 12-02-2007 08:50 AM

1. search the httpd.conf, find the keyword "/var/www/html".
The path only exists in the DocumentRoot section?
Maybe some other configure item forbid the path?

2. There are some hidden files in /var/www/html?
such like .htaccess?

w3bd3vil 12-02-2007 12:11 PM

if possible read your apache logs and try pasting them here, so we can help out on the problem.


All times are GMT -5. The time now is 10:35 PM.