Re: [users@httpd] DirectoryIndex not working for index.rhtml

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxx ; 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@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux