Bug#272799: RewriteRules in Server Config Context
Package: apache2
Version: 2.0.51-2
The Apache 2 mod_rewrite reference claims RewriteEngine
(http://httpd.apache.org/docs-2.0/mod/mod_rewrite.html#rewriteengine) &
RewriteRule
(http://httpd.apache.org/docs-2.0/mod/mod_rewrite.html#rewriterule)
directives work in server config, virtual host, directory, & .htaccess
contexts; however, I observe they don't seem to work in the server
config context.
I'm running apache2-mpm-prefork 2.0.51-2.
These two lines have an effect from in a virtual host or .htaccess
context:
RewriteEngine on
RewriteRule foo /bar
but no effect from in a server config context.
My goal is to get cgiwrap working by including this file in the server
configuration: http://www.sfu.ca/~jdbates/cgiwrap/httpd.conf This file
is from the Debian cgiwrap package.
Thanks!
Jack
Reply to: