DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=30118>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=30118

mod_rewrite & DocumentIndex





------- Additional Comments From [EMAIL PROTECTED]  2004-08-27 13:45 -------
Looks like I have problems with the same bug. I used the following
rewrite on apache 1.3:

RewriteCond %{HTTP_ACCEPT} application/xhtml\+xml
RewriteCond %{REQUEST_URI} \.html$
RewriteCond %{THE_REQUEST} HTTP/1\.1
RewriteRule .* - "[T=application/xhtml+xml; charset=iso-8859-1]"

this should change the mediatype of .html-files to application/xhtml+xml
if browser says that it supports application/xhtml+xml. This rewrite
worked just fine on apache 1.3 but now on apache 2.0.50 I have
problems with indexes.

If I request for:

http://appro.mit.jyu.fi/2004/syksy/www/

I get text/html

but if I try:

http://appro.mit.jyu.fi/2004/syksy/www/index.html

I get application/xhtml+xml

This looks like a real bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to