I am developing websites using rails and Mongrel as webserver, with
Pound in front of everything.
Now I have to develop a multilanguage site, so I nedd to send all
request with "/eng/" appended to the url to a different backend and
remove the "/eng/" part of the url.
For example:
Service
HeadRequire "Host:.*www.mysite.it.*"
BackEnd
Address 127.0.0.1
Port 8001
End
...
End
Service
HeadRequire "Host:.*www.mysite.it.*"
URL "/eng/*"
BackEnd
Address 127.0.0.1
Port 8005
End
...
End
What I need is to send request to the backend on port 8005 removing the
"/eng/" part of the url.
I tried the way above and I tried using redirect too, but I can't figure
how remove that piece of url.
Thanks in advance
[...]
|