PDA

View Full Version : Can Resin 3.1.9 redirect to a completely different URL?


dpman39
01-06-2010, 03:50 PM
Gurus,

I'm trying to redirect an incoming page request to a completely different server and it's not working.

<rewrite-dispatch>
<redirect regexp="http://200.56.56.217:8300/LWEB" target="http://200.56.56.198:8200/LWEB"/>
</rewrite-dispatch>

What am I doing wrong?

alex
01-08-2010, 06:19 AM
Can you try without port for regexp or with just '^/LWEB'

<rewrite-dispatch>
<redirect regexp="http://200.56.56.217/LWEB" target="http://200.56.56.198:8200/LWEB"/>
</rewrite-dispatch>