On Sep 9, 5:46 pm, "Lukasz Szybalski" <[EMAIL PROTECTED]> wrote:
> >http://192.168.1.9/webapps/webapps/
> > This comes up with the home page but no static content is sent
> > over. Also tg,url('/') returns /webapps which I would have expected /
> > webapps/webapps.
>
> > Remember that the app was developed with / being returned from
> > tg.url('/').
>
> So is your application root mounted "/" or is it not /webapps?
> If you have an def index() function do you want it to:
>
> localhost/index or do you want it to be localhost/webapps/index ??
>
> #For non root mounted app:
> turbogears.config.update({'global': {'server.webpath': '/webapps'}})
>
> then your app should be accessible through localhost/webapps/index
>
> I see your controller has reports = ReportsController() this means
> your application will be accessable through
> localhost/webapps/reports/
>
> Lucas
Whatever works. Does not have to be root, in fact I would prefer to
access it through http://192.168.1.9/webapps that way I can put other
apps on the same server.
Mel
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---