alex bodnaru wrote: > i am running a tg 1.1 development web server at http://localhost:8081 > > it was working and responding until i have set server.webpath in dev.cfg. > > i needed the webpath, so static urls for css and javascript could be > properly constructed.
Why do you think you need it? You don't need to set server.webpath unless you want to integrate your TG app into a larger site and make the root controller accessible under a URL other than "/". http://docs.turbogears.org/1.0/Configuration#cherrypy-configuration-reference > but now, that server.webpath is set to "http://localhost:8081", the > path to my controller (/organization, or even /) can't be found. This is not the correct way to use server.webpath. As the name of the setting implies, it should be set to a URL path, not a full URL. Are you looking for the 'base_url_filter.base_url' setting instead, maybe? If you tell us, what problem you are trying to solve with server.webpath and what you are trying to accomplish, we could probably help you better. Chris --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "TurboGears" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/turbogears?hl=en -~----------~----~----~----~------~----~------~--~---

