5 messages in com.googlegroups.pylons-discussRe: mapping /static
FromSent OnAttachments
Max Ischenko11 Jun 2007 03:48 
voltron11 Jun 2007 03:58 
Max Ischenko26 Jun 2007 23:56 
voltron27 Jun 2007 00:41 
Max Ischenko28 Jun 2007 05:40 
Subject:Re: mapping /static
From:voltron (nhyt@public.gmane.org)
Date:06/11/2007 03:58:46 AM
List:com.googlegroups.pylons-discuss

Have you tried editiing the path for static content in your enviroment.py file?

On Jun 11, 12:48 pm, "Max Ischenko"
<isch@public.gmane.org> wrote:

Hello,

Default Pylons setup (middleware.py) configures StaticURLParser to handle APP/public/ which contains static dir. I wanted a slightly different setup and moved APP/public/static to static/ dir. Now I can't get it to work with StaticURLParser: it wants a serve everything under specific dir and in my case it means whole source tree.

How can I make sure Pylons serves static files from static/ dir under URL path /static?

Max.