Click to See Complete Forum and Search --> : Apache server question
drake79
07-10-2002, 09:39 AM
I've installed Apache 1.3.24 on mandrake 8.1 I've started Apache and I can get the welcome page in netscape but I've put a hello.html file in the htdocs folder but when I type 127.0.0.1/hello.html I get a 404 error. I've looked through the httpd.conf file but I'm not sure what setting to look for. Any Ideas?
z0mbix
07-10-2002, 09:54 AM
Read the well commented httpd.conf file - I think it's under DocumentRoot. Mine (Debian) was set to /var/www/ by default but I'm sure that may differ in Mandrake :)
drake79
07-10-2002, 10:24 AM
I read the conf file and I even changed the DocumentRoot from htdocs to realdocs but I still get the Welcome page.
Warheart
07-10-2002, 05:13 PM
Have you set the permissions right?
chikn
07-10-2002, 09:10 PM
Are you sure the file is in the /var/www/html directory whent he default install of apache has the doc root.
Golden_Eternity
07-12-2002, 12:40 PM
Is there another index.* file in the directory that might take precedence over your .html?
Check out the apache logs, they should give you the path and filename it tried to access.