Hi All,

a simple mod_rewrite rules

RewriteEngine On

RewriteCond /home/docroot/test/$1 -f
RewriteRule ^(.+).test$ /test/$1 [L]

http://httpd.apache.org/docs/2.4/mod/mod_rewrite.html#rewritecond

in apache 2.2.x this works in vhost and .htaccess context, in apache
2.4.2 in vhost context $1 in RewriteCond is always empty

Is this a bug or I'm missing something ?

Regards,

Michal Grzedzicki

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org

Reply via email to