httpd-wiki-changes mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <wikidi...@apache.org>
Subject [Httpd Wiki] Update of "RewriteMap" by FabienBourdaire
Date Thu, 30 Sep 2010 18:16:37 GMT
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 FabienBourdaire.
http://wiki.apache.org/httpd/RewriteMap?action=diff&rev1=7&rev2=8

--------------------------------------------------

  == Recipe: ==
  {{{
  RewriteEngine on
- RewriteMap sub /physical/path/to/rwmap.pl
+ 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:
  {{{

Mime
View raw message