static content instructions missing informaiton

2 views
Skip to first unread message

dbri...@gmail.com

unread,
Apr 30, 2006, 3:19:31 PM4/30/06
to cherrypy-docs
http://docs.cherrypy.org/serving-static-content

does not tell
1. where is the config file
2. if you can do it without a config file

dbri...@gmail.com

unread,
Apr 30, 2006, 3:21:37 PM4/30/06
to cherrypy-docs
i would use the 'comment' feature to add this but it would be much
easier to understand if this information was added into the main flow
of the text.

Sylvain Hellegouarch

unread,
Apr 30, 2006, 3:49:43 PM4/30/06
to cherry...@googlegroups.com
>
> http://docs.cherrypy.org/serving-static-content
>
> does not tell
> 1. where is the config file

It can be anywhere, as long as you provide the correct path to
cherrypy.config.update().

> 2. if you can do it without a config file

You can use a dictionnary to hold the config settings.

http://docs.cherrypy.org/cherrypy-tutorial

- Sylvain

Reply all
Reply to author
Forward
0 new messages