On Mon, 24 Sep 2007, Lukasz Szybalski wrote:

>
> Hello,
> I am trying to redirect url to my turbogears app.
>
> I have the app working on port 8081
>
> I have added this code to my httpd.conf but it doesn't work
>
> RewriteEngine On
> RewriteRule ^/users/(.*) http://127.0.0.1:8081/users/$1 [P]
>
> Modrewrite is enabled.
> start-users.py prod.cfg is running properly.
>
> Why is http://lcoalhost/users not working?

Hint: http://localhost/users/ will work.

Your rewrite rule requires a trailing slash.

-- Asheesh.

--
Young men think old men are fools; but old men know young men are fools.
                -- George Chapman


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"TurboGears" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/turbogears?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to