Untitled
public text v1 · immutableRewriteCond ${lowercase:%{HTTP_HOST}|NONE} ^(.+)$
#
# 4. lookup this hostname in vhost.map and
# remember it only when it is a path
# (and not "NONE" from above)
RewriteCond ${vhost:%1} ^(/.*)$
#RewriteCond ${vhost:%1} ^(.*)$
#
# 5. finally we can map the URL to its docroot location
# and remember the virtual host for logging puposes
#RewriteRule ^/(.*)$ %1/$1 [E=VHOST:${lowercase:%{HTTP_HOST}}]
RewriteRule ^(.*)$ %1$1 [E=VHOST:${lowercase:%{HTTP_HOST}}]