You are viewing a plain text version of this content. The canonical link for it is here.
Posted to apache-bugdb@apache.org by Roman Pozlevich <ro...@botik.ru> on 1998/08/08 13:38:49 UTC

mod_rewrite/2813: mod_mime overrides content type provided by mod_rewrite

>Number:         2813
>Category:       mod_rewrite
>Synopsis:       mod_mime overrides content type provided by mod_rewrite
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    apache
>State:          open
>Class:          sw-bug
>Submitter-Id:   apache
>Arrival-Date:   Sat Aug  8 04:40:00 PDT 1998
>Last-Modified:
>Originator:     roma@botik.ru
>Organization:
apache
>Release:        1.3.1
>Environment:
Debian/Linux 2.0

the output of "uname -a":
Linux roma 2.1.113 #1 SMP Sat Aug 1 19:57:24 MSD 1998 i686 unknown
>Description:
1) The line from srm.conf:
RewriteRule     ^/cgi-bin/(.+)$ /usr/local/lib/cgi-bin/$1 [T=application/x-http-cgi,L]
2) dummy script /usr/local/lib/cgi-bin/env (prints out environment)
3) link /usr/local/lib/cgi-bin/env.html -> /usr/local/lib/cgi-bin/env

accessing to URL http://localhost/cgi-bin/env shows environment
accessing to URL http://localhost/cgi-bin/env.html shows script source
>How-To-Repeat:

>Fix:

>Audit-Trail:
>Unformatted:
[In order for any reply to be added to the PR database, ]
[you need to include <ap...@Apache.Org> in the Cc line ]
[and leave the subject line UNCHANGED.  This is not done]
[automatically because of the potential for mail loops. ]
[If you do not include this Cc, your reply may be ig-   ]
[nored unless you are responding to an explicit request ]
[from a developer.                                      ]
[Reply only with text; DO NOT SEND ATTACHMENTS!         ]