List Info

Thread: Trouble with staticFilter




Trouble with staticFilter
user name
2006-03-14 10:48:26
1stpoint: If I set staticFilter.root = "/" and
leave
[/default.css]
staticFilter.on = True
staticFilter.file = "/css/default.css"

It doesn't work.

Remi: I'm running 2.2.0rc1

If I move all of my static files to a folder called
'static' in my
project folder, and add...

[/static]
staticFilter.on = True
staticFilter.dir =
"/Users/rob/Desktop/CherrypyProject/static"

with no staticFilter.root defined, it works. If I define
staticFilter.root as anything, even "", it
breaks.


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the
Google Groups "cherrypy-users" group.
To post to this group, send email to cherrypy-usersgooglegroups.com
To unsubscribe from this group, send email to
cherrypy-users-unsubscribegooglegroups.com
For more options, visit this group at http://
groups.google.com/group/cherrypy-users
-~----------~----~----~----~------~----~------~--~---

[1]

about | contact  Other archives ( Real Estate discussion Medical topics )