On Sep 9, 6: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 throughhttp://192.168.1.9/webappsthat way I can put other
> apps on the same server.
>
> Mel

Is this of any interest?

[Tue Sep 09 18:31:07 2008] [warn] mod_wsgi (pid=14636): Callback
registration for signal 15 ignored.
[Tue Sep 09 18:31:07 2008] [warn]   File "/usr/local/turbogears/
myclient/apache/webapps.wsgi", line 9, in <module>
[Tue Sep 09 18:31:07 2008] [warn]     import cherrypy
[Tue Sep 09 18:31:07 2008] [warn]   File "/usr/lib/python2.5/site-
packages/CherryPy-2.3.0-py2.5.egg/cherrypy/__init__.py", lin
e 20, in <module>
[Tue Sep 09 18:31:07 2008] [warn]     import _cpserver
[Tue Sep 09 18:31:07 2008] [warn]   File "/usr/lib/python2.5/site-
packages/CherryPy-2.3.0-py2.5.egg/cherrypy/_cpserver.py", li
ne 10, in <module>
[Tue Sep 09 18:31:07 2008] [warn]     from cherrypy._cpengine import
Engine, STOPPED, STARTING, STARTED
[Tue Sep 09 18:31:07 2008] [warn]   File "/usr/lib/python2.5/site-
packages/CherryPy-2.3.0-py2.5.egg/cherrypy/_cpengine.py", li
ne 25, in <module>
[Tue Sep 09 18:31:07 2008] [warn]     signal.signal(signal.SIGTERM,
SIGTERM)
[Tue Sep 09 18:31:07 2008] [error] [client 192.168.1.121] mod_wsgi
(pid=14636): Target WSGI script '/usr/local/turbogears/myclient/apache/
webapps.wsgi' cannot be loaded as Python module.
[Tue Sep 09 18:31:07 2008] [error] [client 192.168.1.121] mod_wsgi
(pid=14636): Exception occurred processing WSGI script '/us
r/local/turbogears/myclient/apache/webapps.wsgi'.
[Tue Sep 09 18:31:07 2008] [error] [client 192.168.1.121] Traceback
(most recent call last):
[Tue Sep 09 18:31:07 2008] [error] [client 192.168.1.121]   File "/usr/
local/turbogears/myclient/apache/webapps.wsgi", line 1
1, in <module>
[Tue Sep 09 18:31:07 2008] [error] [client 192.168.1.121]     import
turbogears
[Tue Sep 09 18:31:07 2008] [error] [client 192.168.1.121]   File "/usr/
lib/python2.5/site-packages/TurboGears-1.0.5-py2.5.egg/
turbogears/__init__.py", line 5, in <module>

I also tried rebuilding mod_wsgi with no change.


--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to