On 9/24/07, Asheesh Laroia <[EMAIL PROTECTED]> wrote: > > 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. That didn't work.
Where do I put this code. I don't want to put it in .htaccess so does it go into: httpd.conf? apache.conf sites-available? enabled? does it go into <directory><location><vitual host>???? Any ideas? Lucas --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

