Results 1 to 3 of 3
How do you change the default location where Apache looks for the default root (html, etc)?
By default in httpd2.conf it is set for /var/www/html as the root html directory, ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 02-09-2004 #1Just Joined!
- Join Date
- Jan 2004
- Posts
- 11
Apache inquiry
How do you change the default location where Apache looks for the default root (html, etc)?
By default in httpd2.conf it is set for /var/www/html as the root html directory, I have modified it to use another location /home/www applied the changes and then restarted Apache.
At that point I recieve a 403 error message (403 Forbidden) I believe is the message. I change it back to the default /var/www/html and it works.
Any ideas?
voth
- 02-09-2004 #2Just Joined!
- Join Date
- Nov 2002
- Location
- USA
- Posts
- 99
Most likely it is a file access permission that is causing the problem. Is the /home/www directory readable and executable for all users?
- 02-09-2004 #3
they must be world readable eg
Code:chmod 644 index.html


Reply With Quote
