27 Jan
2003
27 Jan
'03
6:24 p.m.
Ed Leafe wrote:
Look into RewriteCond - it supports conditional based upon the host. In you case, something like:
Ah, yes. Better yet, some variant of the following may work: RewriteCond %{HTTP_HOST} ^(.*)\.myhost\.com RewriteRule ^(.*) http://localhost:8080/VirtualHostBase/http/%{HTTP_HOST}:80/%1/VirtualHostRoot/$1 [P,L] Cheers, Evan @ 4-am