You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bugs@httpd.apache.org by bu...@apache.org on 2007/08/16 04:00:16 UTC

DO NOT REPLY [Bug 36590] - mod_rewrite type|T force mime type option doesn't work

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=36590>.
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=36590





------- Additional Comments From arnaud.lb@gmail.com  2007-08-15 19:00 -------
I'm according with Richard Antony Burton, from the point of view of mod_rewrite 
working as documented it is definitely a bug.

Additionally the solution Andr� Malo's solution does not work for me:

<Directory />
RewriteEngine On
RewriteRule (.+\.html)$ $1.gz
RewriteRule . - [T=text/html,L]
</Directory>

Result:
Content-Type: application/x-gzip

Expected result:
Content-Type: test/html

Last RewriteLog line:
force filename redirect:/dir/file.html.gz to have MIME-type 'text/html'


-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org