| | |
how to enable index.shtml instead of index.html.
![]() |
Hi one of my friends is having a problem, so if anyone know anything about how to enable index.shtml instead of index.html on the webserver would you be able help me and my friend.
Thankyou
Thankyou
Quality Pre-made website templates - 100's of downloadable professional website templates that are at affordable prices .
Website Design Tutorial - Your guide to website design
Website Design Tutorial - Your guide to website design
•
•
Join Date: Nov 2003
Posts: 207
Reputation:
Solved Threads: 1
In apache, find the httpd.conf, and find this line:
Add index.shtml to the end of that line.
DirectoryIndex index.html
•
•
•
•
Originally Posted by rixius
In apache, find the httpd.conf, and find this line:
Add index.shtml to the end of that line.DirectoryIndex index.html
•
•
Join Date: Jan 2005
Posts: 15
Reputation:
Solved Threads: 0
There should be a long lisrt in httpd.conf, and it is displayed in the order it is listed in that file. Here is a typical file:
DirectoryIndex index.html index.wml index.cgi index.shtml index.jsp index.js index.jp index.php4 index.php3 index.php index.phtml index.htm default.htm default.html home.htm
So if there are both index.html and index.cgi in the same directory - index.html will be displayed when no file is specifically called in the URL.
DirectoryIndex index.html index.wml index.cgi index.shtml index.jsp index.js index.jp index.php4 index.php3 index.php index.phtml index.htm default.htm default.html home.htm
So if there are both index.html and index.cgi in the same directory - index.html will be displayed when no file is specifically called in the URL.
![]() |
Similar Threads
- How to Store XAMPP in Drive D in Windows XP (PHP)
- apache: how to make my index function? (*nix Software)
Other Threads in the Linux Servers and Apache Forum
- Previous Thread: Former Abyss newbie ; folder help
- Next Thread: Where have I gone wrong?
| Thread Tools | Search this Thread |
.net apache apple asus bbc bluegene centos cisco citrix cloud cloudcomputing datacenters debian dell desktops development distributions distros drivers economy eeepc energy enterprise fedora gadgets gentoo gos government gpl hardware hp hyper-v ibm java jobs kindle knoppix kvm laptop laptops lawsuits licensing limo linustorvalds linux linuxfoundation linuxmagazine magazines microserver microsoft mobile mobilephones netbook netbooks news novell olpc open openmoko openoffice opensolaris opensource opensuse openvz operatingsystems os patents pc pcworld plathome politics print qumranet redhat rhel robot russia sco server servers slackware software solaris source sun supercomputer support tivo torvalds training tv ubuntu umpc unix virtualization vmware windows x86 xandros xen





