Hi,

I have a simple setup like this:

def main(global_conf, **local_conf):
    ...
    config.add_handler('home', '/', 'myapp.handlers:HomeHandler',
action='index', request_method='GET')
    # static_view here
    ...

With the configuration below, I get the following results:

config.add_static_view('static', 'myapp:static/')
    /static/css/ -> redirect to /css/
    /static/css/style.css -> works
    /css/ -> 404
    /css/style.css -> 404

config.add_static_view('/', 'myapp:static/')
    /static/css/ -> infinite redirect
    /static/css/style.css -> 404
    /css/ -> infinite redirect
    /css/style.css -> works

N

-- 
You received this message because you are subscribed to the Google Groups 
"pylons-devel" group.
To post to this group, send email to pylons-de...@googlegroups.com.
To unsubscribe from this group, send email to 
pylons-devel+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/pylons-devel?hl=en.

Reply via email to