2007/4/29, Steve Finkelstein <[EMAIL PROTECTED]>:
Perhaps I'm misunderstanding what you're ultimately trying to
accomplish. However, if you're doing what I think you're doing and
you're using Apache, look into mod_rewrite:
http://httpd.apache.org/docs/2.0/mod/mod_rewrite.html


From my knowledge,he/she was doing nothing about Apache,but wrote a
redirector for Squid cache.
Also Tom,maybe using "or" instead of "elsif" is more clear,:)

$uri =~ s#www\.example\.com/v2/#v2.example.com/#  or
$uri =~ s#www\.example\.com/v3/#v3.example.com/#  or
....





--
Chinese Practical Mod_perl book online
http://home.arcor.de/jeffpang/mod_perl/

--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/


Reply via email to