Dear Ben you need to use a filter to add the correct proxy to you pylons
app.  in your app section you add a filter-with = <somefilter> and then
you add a filter section:
[filter:<somefilter>]
egg: = use:PasteDeploy#prefix
prefix = /bar

Hope this helps
Jose

[EMAIL PROTECTED] wrote:
> I'd like to be able to set up a copy of my Pylons app within a
> subdirectory on a server I control.
> e.g.
> http://www.example.com/foo -> normal static pages served by Apache
> http://www.example.com/bar -> root of Pylons app
> http://www.example.com/bar/controller/action/id
>
> I managed to set up Apache to proxy the requests within the directory
> fine, but the setup seems to be confusing Pylons (or Routes? Paste?
> I'm not sure where one begins and the other ends, I'm afraid)
>
> It is serving the root page correctly, with the correct Kid template,
> but obviously there is some error finding the images/css (e.g.
> http://www.example.com/bar/images/baz.png) and Pylons returns a 404
> (but with my correct error template!).
>
> Can anyone nudge me in the right direction? Are there any other
> problems I'm likely to run into if I keep going on this path?
>
> Cheers in advance,
> Ben
>
>
> >
>
>   


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"pylons-discuss" 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/pylons-discuss?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to