[Chicago] mod_rewrite and turbogears
David Terrell
dbt at meat.net
Tue Sep 25 05:53:11 CEST 2007
On Mon, Sep 24, 2007 at 10:22:25PM -0500, 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?
>
> 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>????
I'd suggest vhost and then checking your error_log for details. More
of an apache question than a python one tho.
--
David Terrell
dbt at meat.net
((meatspace)) http://meat.net/
More information about the Chicago
mailing list