Apache showing test page instead of index.html

  • Thread starter Thread starter karthik3k
  • Start date Start date
  • Tags Tags
    Linux
Join the discussion
Registration is free. Ask a follow-up in this thread, or start your own.
4 replies · 3K views
karthik3k
Messages
149
Reaction score
0
My RH9 is preinstalled with Apache http server.
If i connect to 127.0.0.1 its showing the test page. But i have an index.html file in /var/www/html/ folder. And this folder path is given as the document root in httpd.conf file.

I donno from where that test page comes out and i donno how to display my index.html file.
It doesn't work even if i use 127.0.0.1/index.html

Somebody please help...
Thanx
 
Physics news on Phys.org
check the .conf file to see where Apache's root directory is. It apparently isn't /var/www/html.

- Warren
 
No. It is /var/www/html
 
Maybe this will help:

http://myy.helia.fi/~karte/kurssit/lamp-linux-apache-mysql-php-quickstart.html
 
Last edited by a moderator:
chroot said:
check the .conf file to see where Apache's root directory is. It apparently isn't /var/www/html.
An Unfortunate off-track :-p
 
Last edited: