On 01/26/2010 05:07 PM, Reese wrote:
I've been rolling everything that has been said around in my head, and now I'm wondering why something like the below would not work: RewriteEngine On RewriteCond (/sring1/) RewriteRule ^%(HTTP_HOST)/(string1)/(.*)% $2\.domain\.ext/$3 Or am I just not getting it still? Reese --------------------------------------------------------------------- The official User-To-User support forum of the Apache HTTP Server Project. See <URL:http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx " from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx
You can't use %(HTTP_HOST) in the matching portion of the rule. Frank. --------------------------------------------------------------------- The official User-To-User support forum of the Apache HTTP Server Project. See <URL:http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx " from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx