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

Title: Apache configuration
Post 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?
Title: Re: Apache configuration
Post by: kaushalpatel1982 on August 18, 2010, 08:57:25 AM
1. Open httpd.conf file
2. Find "DirectoryIndex" in httpd.conf.
3. add yourhtmlfilename.html at the end of line
4. restart httpd service
Title: Re: Apache configuration
Post by: dragoncity99 on October 02, 2010, 03:09:03 AM
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. :)