Hi, Michael.

Thanks for your reply.

Unfortunately that's not working for me.  Neither my static files nor
my non-root handlers are routing properly.

Any tips on how I can troubleshoot?

On May 16, 7:30 pm, Michael Merickel <[email protected]> wrote:
> To host a WSGI app at a subdirectory you have to do 2 things.
>
> 1) Tell apache to forward requests only for that subdirectory.
>
>     This is done using the WSGIScriptAlias.
>
> 2) Tell the WSGI app that it is being hosted at a subdirectory.
>
>     This is done by setting the SCRIPT_NAME parameter in the WSGI environ to
> '/mysubdir'.
>     One way to do this is to add paste's PrefixMiddleware to your pipeline.
>
>     An example is to edit your ini file:
>
>         [filter:paste_prefix]
>         use = egg:PasteDeploy#prefix
>         prefix = /mysubdir
>
>         [pipeline]
>              use = paste_prefix
>                      # ... other middleware ...
>                      myapp
>
> Michael (raydeo in #pylons)

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