On Tue, Sep 9, 2008 at 8:09 PM, AZMel <[EMAIL PROTECTED]> wrote: > > > > 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. >
Well, You have to play around with it. You either skipped a step or have something misconfiguration. I have used these instructions for 4 deployments, copy and paste and they worked each time. Lucas --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

