perl-modperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From John ORourke <>
Subject Re: can PerlTransHandler deal with this?
Date Thu, 11 May 2006 11:59:41 GMT
Fayland Lam wrote:

> let me describe my situation. we have something like
> and we have a table like:
> 1.jpg | o1
> and now we want the people visit this by
> yes, o1,o2,o3 are different servers. I'd like to config the 
>  like PerlTransHandler +MyApache2::RewriteO 

Are you trying to redirect the client to ?  
If so you'll have to return a Location: header and a 301 response, eg:
    return Apache2::Const::HTTP_MOVED_TEMPORARILY;

If you're trying to behave like a proxy server, where you make the 
request on the client's behalf, then return the response to the client, 
then it's not quite that simple.


View raw message