perl-modperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Fayland Lam <fayl...@gmail.com>
Subject can PerlTransHandler deal with this?
Date Thu, 11 May 2006 11:22:14 GMT
let me describe my situation. we have something like

http://o1.example.com/1.jpg
http://o2.example.com/2.gif
http://o3.example.com/4.jpg

and we have a table like:

img   | site
1.jpg | o1
2.gif | o2
....

and now we want the people visit this by
http://o.example.com/1.jpg
http://o.example.com/2.gif
...

yes, o1,o2,o3 are different servers. I'd like to config the 
o.example.com  like PerlTransHandler +MyApache2::RewriteO
but it seems that PerlTransHandler can only rewrite the url of 
http://o.example.com/1.jpg to http://o.example.com/something
is there a way to http://o1.example.com/1.jpg?
I think i'm using the wrong handler, but is there any handler can handle 
this problem?
or any hint? thanks for any tips.


Mime
View raw message