Re: can PerlTransHandler deal with this?
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
> o.example.com like PerlTransHandler +MyApache2::RewriteO[/color]
Are you trying to redirect the client to [url]http://o1.example.com/1.jpg[/url] ?
If so you'll have to return a Location: header and a 301 response, eg:
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.