httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Matus UHLAR - fantomas <uh...@fantomas.sk>
Subject Re: [users@httpd] DirectoryIndex not working for index.rhtml
Date Tue, 04 Jul 2006 06:48:56 GMT
On 03.07.06 08:29, Rick Lim wrote:
> Has anyone had this problem and being able to fix it?
> I have in my config file
> 
> DirectoryIndex index.html index.php index.rhtml index.html.var
> 
> When a browser asks for a default index file with /
> Apache will serve index.html or index.php but not index.rhtml

What does it mean? Does it process index.html.var, show directory listing or
an error?

What's index.rhtml ? Is that pure html file or does it have to be processed
somehow? if it's a HTML, did you teach apache about it via this directive?

AddType text/html .rhtml


(FYI, if the index.html.var is a type-map file, I simply call it index.var
and have it as first in DirectoryIndex for the negotiation to work whenever
it's possible)
-- 
Matus UHLAR - fantomas, uhlar@fantomas.sk ; http://www.fantomas.sk/
Warning: I wish NOT to receive e-mail advertising to this address.
Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
Spam = (S)tupid (P)eople's (A)dvertising (M)ethod

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message