Try this rule: RewriteCond %{HTTP_HOST} ^(skin\d+)\. Example\. Com$ RewriteCond %{DOCUMENT_ROOT}$1/%1/$2 -f RewriteRule ^(^/+)/(^/+)$ $1/%1/$2 L.
This would work, but I realized I need to update my question. Also, this got me to my answer. – Kevin Hakanson Apr 20 '10 at 21:25 @Kevin Hakanson: You can avoid one additional lookup by storing the value this way:RewriteCond ${hostmap:%{HTTP_HOST}} .
+ RewriteCond %{DOCUMENT_ROOT}$1/%0/$2 -f RewriteRule ^(^/+)/(^/+)$ $1/%0/$2 L – Gumbo? Apr 20 '10 at 21:38 Does this use the first RewriteCond as a side effect to set %0? With RewriteLogLevel 9, I was seeing these lookups were cached.
Cache lookup OK: map=hostmaptxt key=skin3.example. Com -> val=s3 – Kevin Hakanson Apr 20 '10 at 22:03.
In virtual host environment, wish to use a handler. For specified directories, eg, images, script, want Apache to handle it. For all other subdirectories, wish to pass to handler.
Also, is the RewriteCond necessary before each RewriteRule?
I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.