hosted by liquidweb


Go Back   Web Hosting Talk : Web Hosting Main Forums : Dedicated Server : Making index.htm an index page
Reply

Forum Jump

Making index.htm an index page

Reply Post New Thread In Dedicated Server Subscription
 
Send news tip View All Posts Thread Tools Search this Thread Display Modes
  #1  
Old 08-12-2001, 11:13 PM
NVB NVB is offline
Junior Guru Wannabe
 
Join Date: May 2001
Posts: 97

Making index.htm an index page


My server only recognizes index.html files as directory index's. I would like it also recognize index.htm and index.shtml files.

How do I configure the server to recognize index.htm files as indexes?



Sponsored Links
  #2  
Old 08-12-2001, 11:20 PM
Chicken Chicken is offline
Web Hosting Master
 
Join Date: Jun 2000
Location: Southern California
Posts: 12,121
This would seem odd, but...

In srm.conf :

# DirectoryIndex: Name of the file or files to use as a pre-written HTML
# directory index. Separate multiple entries with spaces.

DirectoryIndex index.html index.htm index.shtml ...

__________________
HostHideout.com - Where professionals discuss web hosting.

• Chicken

  #3  
Old 08-12-2001, 11:36 PM
davidb davidb is offline
A#* Duke Of New York
 
Join Date: Jun 2001
Location: Chicago, IL
Posts: 1,953
Also if you are running a newer version of apache, they now combine the files, so if you dont have srm.conf, add it too httpd.com

Sponsored Links
  #4  
Old 08-13-2001, 11:36 AM
NVB NVB is offline
Junior Guru Wannabe
 
Join Date: May 2001
Posts: 97
Thanks, for the help. My server has both an srm.conf and an httpd.conf The srm.conf is an empty file and the httpd.conf is a long 43 KB file. A representative from tech support was able to get it to work by changing the line

<IfModule mod_dir.c>
DirectoryIndex index.html
</IfModule>

in httpd.conf to

<IfModule mod_dir.c>
DirectoryIndex index.htm index.html
</IfModule>

Reply

Related posts from TheWhir.com
Title Type Date Posted
Ads Available for the Second Printing of WHIR’s Annual Hottest Hosts Directory Blog 2014-04-08 16:52:36
Mistakes To Avoid When Launching A New Website Design Blog 2014-01-10 10:53:50
Insecure Passwords at Hosting Provider Behind OpenSSL Website Defacement Web Hosting News 2014-01-03 15:29:53
Page.ly Grows Managed WordPress Hosting Platform with BlogDroid Acquisition Web Hosting News 2013-06-27 15:43:37
Selling a Cloud Services Portfolio, with Stephanie Rowan of Parallels Web Hosting News 2013-02-06 15:50:29


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes
Postbit Selector

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump
Login:
Log in with your username and password
Username:
Password:



Forgot Password?
Advertisement:
Web Hosting News:



 

X

Welcome to WebHostingTalk.com

Create your username to jump into the discussion!

WebHostingTalk.com is the largest, most influentual web hosting community on the Internet. Join us by filling in the form below.


(4 digit year)

Already a member?