[Chicago] mod_rewrite and turbogears

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

 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/(.*)$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:
sites-available? enabled?
does it go into <directory><location><vitual host>????

Any ideas?


More information about the Chicago mailing list