Linux Forums - Linux Help,Advice & support community:LinuxSolved.com
Network Troublshooting => Linux Servers Support => Topic started by: muayanup on August 15, 2010, 06:38:39 PM
-
guys I am configuring apche on rhel5, I got default page successfully, and virtual page too, when i keep only one file index.html in virtual folder it goes well, that file opens correctly , but when I keep other html files except index.html server shows default page again, can anyone solve this problem?
-
1. Open httpd.conf file
2. Find "DirectoryIndex" in httpd.conf.
3. add yourhtmlfilename.html at the end of line
4. restart httpd service
-
You need to look at the /etc/httpd/conf.d directory. If you want to disable the annoying default Index.html. Also I hope you have defined your document root correctly. :)