On May 23, 6:11 am, Brian Blais <[EMAIL PROTECTED]> wrote: > fumanchu wrote: > > > On May 22, 6:38 pm, Brian Blais <[EMAIL PROTECTED]> wrote: > >> I'd like to start trying out some cherrypy apps, but I've > >> been having some setup problems. I think I need some > >> bone-head simple example to clear my understanding. :) > >> 1) can I configure cherrypy to look at requests only > >> off a base url, like: > >> > >> http://www.provider.com:8080/~myusername/apps > > > > Yes, you can. Assuming you're using the "cherrypy.quickstart" > > function, supply the "base url" in the "script_name" argument; for > > example: > > > > sn = 'http://www.provider.com:8080/~myusername/apps' > > cherrypy.quickstart(Root(), sn, config) > > > > Thanks for your reply, but for some reason it is not > working as stated. I'm probably missing something.
No, you're not missing anything; my fault. I wasn't very awake when I wrote that, I guess. Don't include the hostname, just write: sn = '/~myusername/apps' cherrypy.quickstart(Root(), sn, config) > When I start, I usually get: > The Application mounted at '' has an empty config. That's normal behavior; just a warning, not an error. Robert Brewer System Architect Amor Ministries [EMAIL PROTECTED] -- http://mail.python.org/mailman/listinfo/python-list