Very cool.  For whoever might run into this in the future:

>> I generally match the URL in the external system in the internal name
>> - ie, match server.webpath.
>> So, I'd use:
>> ProxyPass /mytest/ http://localhost:8090/mytest/
>> ProxyPassReverse /mytest/ http://localhost:8090/mytest/

This was the real problem.  It looks to me like without the /mytest/
on the Apache ProxyPass/ProxyPassReverse either Apache or TG does some
kind of URL searching/matching and every miss lands in the error log.

Thanks Neil, my error logs are happy now.


On Aug 7, 1:50 pm, "Neil Blakey-Milner" <[EMAIL PROTECTED]> wrote:
> On 8/7/07, Kane <[EMAIL PROTECTED]> wrote:
>
>
>
> > production didn't help, I've reproduced the problem from a fresh
> > quickstart (details below).  I assume I'm not understanding how
> > webpath is supposed to be used.  What gets me is the client side
> > works.  All images, CSS, etc.. load as expected.
>
> > Apache:
> > ProxyPass /mytest/http://localhost:8090/
> > ProxyPassReverse /mytest/http://localhost:8090/
>
> I generally match the URL in the external system in the internal name
> - ie, match server.webpath.
>
> So, I'd use:
>
> ProxyPass /mytest/http://localhost:8090/mytest/
> ProxyPassReverse /mytest/http://localhost:8090/mytest/
>
> > tg-admin quickstart mytest (yes to identity)
>
> > Adjustments to dev.cfg:
> > sqlobject.dburi=(set to working mysql dburi)
> > server.socket_port=8090
> > server.environment="production"
> > server.webpath="/mytest/"
> > autoreload.package="mytest"
>
> > start the server, open up a browser and go to /mytest/:
>
> I also use:
>
> base_url_filter.on = True
>
> I don't know if that's strictly necessary.
>
> Oh, and I use:
>
> server.webpath="/mytest"
>
> Not with the trailing '/'.
>
> Good luck,
>
> Neil
> --
> Neil Blakey-Milnerhttp://nxsy.org/
> [EMAIL PROTECTED]


--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to