Forum Moderators: phranque
<VirtualHost *:80>
VirtualDocumentRoot "/apache/domains/%-2.0.%-1/%-3+/htdocs"
</VirtualHost>
I'm trying to get the following rewrite working:
RewriteRule ^/images/(.*) /apache/common/<domain.com>/images/$1
Is there a way to generate the "domain.com" portion of the path based on client request like "virtualdocumentroot" does?
Why not use one of the server variables [httpd.apache.org]?