help with redirect

Topics: User Forum
Coordinator
Aug 28, 2006 at 3:34 PM
User writes:

Great app thanks! Is it possible to use it to rewrite into another port? In my server, a folder is supposed to load a RoR serviced at port 4000.

I have the following rule:

RewriteRule ^/feedback(.*)$ http://127.0.0.1:4000 I,U

and in the log I do get
Rewrite Url to: 'http://127.0.0.1:4000'

but on the browser I only see the message:
The parameter is incorrect.

Any ideas? Thanks!
Coordinator
Aug 28, 2006 at 3:34 PM
I suggest:

RewriteRule ^/feedback(.*)$ http://127.0.0.1:4000 I,U,L,R

The R flag is necessary when redirecting.
Note, this is a browser-side redirect. it is not a server-side proxy.

check the readme for more info.