I'm working with an Apache rewrite statement that reads:
RewriteRule ^((?!%{HTTP_HOST}).*)$ ${US_ROOTF_WWW}/www.%{HTTP_HOST}%{REQUEST_URI} [L,E=PROJECT_PREPENDED:1]
The value of {US_ROOTF_WWW}
is C:/Chipster/ChipsterContent
The Apache log reports the Web root location translated to:
/C:/Chipster/ChipsterContent/bubbah.org/
Note the slash at the beginning.
Where does this rascal come from?
/bubbah.org/
coming from - your directive contains/www.
? Where exactly are you using this rule (I assume.htaccess
or<Directory>
container in the document root?) YourRewriteRule
pattern is also "incorrect" and is not doing what you think it's doing. You need to state what it is you are trying to do.