Hi Chris, > We have a "cookbook" in the works that describes how to do something > like this. Here's a sneak peek: > > http://plope.com/static/pyramid_cookbook/static.html#root-relative-cu...
Yes, thanks - I found something similar in the "Serving Static Assets" documentation [1]. However, if I understood correctly, this still wouldn't help for the standard case of responding to request to "/" with the static "index.html", like apache does for example for index.htm(l)/php/cgi etc. Any ideas? The whole static stuff seems very hacky for me, examples: 1) from the same page: [1] "The special name *subpath above is used by the pyramid.view.static view callable to signify the path of the file relative to the directory you’re serving." 2) The special purpose of the "name" attribute of the static view. 3) The double meaning of add_static_view depending on the first parameter (i.e. in the external host case) I wish this would be cleaned up some day, more consistent and more intuitive to understand. Dominik [1] http://docs.pylonshq.com/pyramid/dev/narr/assets.html#root-relative-custom-static-view-url-dispatch-only -- 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.