httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Roy T. Fielding" <>
Subject Re: cvs commit: apache-1.3/src/modules/standard mod_rewrite.c
Date Thu, 21 May 1998 21:56:31 GMT
>  Make sure a MIME-type can be forced via a RewriteRule even when no
>  substitution takes place, for instance via the following rule:
>       RewriteRule ^myscript$ - [T=application/x-httpd-cgi]
>  This was often requested by users (not only the submitter of the bug report)
>  in the past to force a single script without a .cgi extension and outside any
>  cgi-bin dirs to be executed as a CGI program.

This is only allowed in the main config files, right? Not .htaccess?
Otherwise it is a security hole.


View raw message