Re: hellp improve efficiency
- From: pangj@xxxxxxxxxxxxx (Jeff Pang)
- Date: Sun, 29 Apr 2007 10:18:08 +0800
2007/4/29, Steve Finkelstein <sf@xxxxxxxxxxxxx>:
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 aredirector 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/
.
- References:
- hellp improve efficiency
- From: Jen mlists
- Re: hellp improve efficiency
- From: Steve Finkelstein
- hellp improve efficiency
- Prev by Date: Re: File::Basename issues
- Next by Date: Re: hellp improve efficiency
- Previous by thread: Re: hellp improve efficiency
- Next by thread: Re: hellp improve efficiency
- Index(es):
Relevant Pages
|