[Chicago] mod_rewrite and turbogears
Lukasz Szybalski
szybalski at gmail.com
Tue Sep 25 06:50:22 CEST 2007
On 9/24/07, David Terrell <dbt at meat.net> wrote:
> 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.
I've added these lines to vhost.
It seems as turbogears needs mod_proxy enabled as well...
Now I am getting.
[Mon Sep 24 23:47:33 2007] [error] [client 127.0.0.1] client denied by
server configuration: proxy:http://127.0.0.1:8081/users/
More information about the Chicago
mailing list