Did you change both the "document root" settings in httpd.conf?
It may be that there is someting else causing the problem, but you are supposed to have two appearances of "document root" in the httpd.conf file.
I think you have to change both.
 
Also: try to write http://127.0.0.1 instead of localhost....
 
- trond
----- Original Message -----
Sent: Friday, May 11, 2001 2:59 AM
Subject: how to set documentroot in httpd.conf?

>hello,sir;
>        i install apache on linux,and i changed
>documentroot in httpd.conf ,it looks like this:
>DocumentRoot "/opt/apache".
>i create the file index.htm in /opt/apache,then
>i restart apache and visit <http://localhost/index.htm>http://localhost/index.htm through browser.
>but,the page was not found.
>why?

Reply via email to