[Chicago] mod_rewrite and turbogears

Lukasz Szybalski szybalski at gmail.com
Tue Sep 25 05:22:25 CEST 2007


 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?

Where do I put the code for mod rewrite. I don't want to put it in
.htaccess so where does it go into:
httpd.conf?
apache.conf
sites-available? enabled?
does it go into <directory><location><vitual host>????

Any ideas?

Lucas


More information about the Chicago mailing list