View Single Post

  #6 (permalink)  
Old 03-28-2006
Daniel :-}
 
Posts: n/a
Default Re: Any differnce between .htm and .html in Apache2?

"Soup" <soupatech@gmail.com> wrote in message
news:%X%Vf.9670$8Y2.7406@fed1read03...
> Daniel :-} wrote:
>> "scott" <svetter@ameritech.net> wrote in message
>> news:Ws_Vf.63628$dW3.47222@newssvr21.news.prodigy. com...
>>> Is there any difference in Apache2 if files end in a .htm or a .html?
>>>
>>> Thanks!

>>
>> By default The "DirectoryIndex" directive defines which page to be
>> displayed.
>>
>> For example, in your httpd.conf file you will see this directive.
>>
>> <IfModule mod_dir.c>
>> DirectoryIndex index.html
>> </IfModule>
>>
>> You can add these if you need to. {index.htm, default.html, default.htm,
>> default.php and index.php} or any other that you think you will need.
>>
>> Hope this helps.
>>
>> Daniel :-}
>>
>> www.danielpeart.net

> Does this mean I could create a page named this.that and use this
> directive to make only that page load by default? Could you use a wildcard
> like index.*?
>
> This may be a stupid question and show how much I do not know about
> apache...


As far as I know {What do I Know?} the wildcard option would not work.

HTH

Daniel :-}