----- Original Message -----
From: Philip Mak <[EMAIL PROTECTED]>
To: modperl <[EMAIL PROTECTED]>
Sent: Saturday, June 16, 2001 9:31 PM
Subject: Re: Is ProxyPass the best you can do?


> On Sun, 17 Jun 2001, Martin Redington wrote:
>
> > Squid is the alternative mentioned in the mod_perl_tuning.pod that comes
> > with mod_perl.
>
> Can Squid read Apache configuration files? On a new site I'm making
> (www.shoujoai.com), I have directives in httpd.conf like this:
>
> RewriteRule ^/fanfics/([a-zA-Z_0-9\-]+)/$ /fanfics/series.asp?series=$1
>
> so that viewing http://www.shoujoai.com/fanfics/*/ actually calls an
> Apache::ASP script. But, only by reading the httpd.conf would one be able
> to tell that it's a script instead of a normal directory.
>
> > Alternatively, you could try using mod_rewrite, to direct requests for
> > scripts to a different apache instance (e.g. running on a separate port
> > or ip). I've never tried this, but it should work.
>
> You can use RewriteRule to make it proxy the request to another Apache? I
> thought you can only alias a URL to a file, or make it send an HTTP
> redirect. How do you make it proxy?

This is what you are looking for i think

http://thingy.kcilink.com/modperlguide/scenario/mod_rewrite_Examples.html
>
> -Philip Mak ([EMAIL PROTECTED])
>

Reply via email to