Dear Wiki user, You have subscribed to a wiki page or wiki category on "Httpd Wiki" for change notification.
The "RewriteMap" page has been changed by RichBowen. The comment on this change is: Nope. %2 was right the first time. There's no $2 defined in this scenario.. http://wiki.apache.org/httpd/RewriteMap?action=diff&rev1=8&rev2=9 -------------------------------------------------- RewriteMap sub prg:/physical/path/to/rwmap.pl RewriteLock /var/lock/map.sub.lock RewriteCond %{HTTP_HOST} ^(www\.)?([a-z.-]+)\.example\.com - RewriteRule ^/(.*) /home/www/htdocs/hosts/${sub:$2}$1 [L] + RewriteRule ^/(.*) /home/www/htdocs/hosts/${sub:%2}$1 [L] }}} rwmap.pl: {{{
