Sorry for the slow response to your questions. I gave up on the xampp
install and used the default webserver and put it on a different port.
This took about 10 minutes and actually works better for the
environment by separating the development tools from the development
server which will help when moving development code to a production
environment. I still don't know how to fix the problem I was seeing in
the xampp install, but using a different server fixed the problem for
me.

Wood

On Jan 27, 6:01 pm, Graham Dumpleton <[email protected]>
wrote:
> On Jan 28, 4:27 am, wooD <[email protected]> wrote:
>
>
>
> > Yes, hello world worked.
>
> > The instructions on that site are a little unclear, but I figured it
> > out.
>
> > I put the specified code in /home/trac/wsgi/hello.wsgi
>
> > I added this to the apache config, just above my current trac config.
> > WSGIScriptAlias /whello /home/trac/wsgi/hello.wsgi
>
> > Then connected to my server.http://10.0.0.4/whello
>
> > It generated the simple Hello World! text on the browser.
>
> > This is the error log output.
> > [Tue Jan 27 09:21:49 2009] [debug] proxy_util.c(1967): proxy:
> > initialized single connection worker 0 in child 30683 for (*)
> > [Tue Jan 27 09:21:49 2009] [info] mod_wsgi (pid=30683): Attach
> > interpreter ''.
> > [Tue Jan 27 09:22:21 2009] [info] mod_wsgi (pid=30679): Create
> > interpreter 'localhost|/whello'.
> > [Tue Jan 27 09:22:21 2009] [info] [client 32.97.110.54] mod_wsgi
> > (pid=30679, process='', application='localhost|/whello'): Loading WSGI
> > script '/home/trac/wsgi/hello.wsgi'.
> > [Tue Jan 27 09:22:21 2009] [error] [client 32.97.110.54] File does not
> > exist: /opt/lampp/htdocs/favicon.ico
> > [Tue Jan 27 09:22:22 2009] [debug] proxy_util.c(1854): proxy: grabbed
> > scoreboard slot 0 in child 30689 for worker proxy:reverse
> > [Tue Jan 27 09:22:22 2009] [debug] proxy_util.c(1873): proxy: worker
> > proxy:reverse already initialized
> > [Tue Jan 27 09:22:22 2009] [debug] proxy_util.c(1967): proxy:
> > initialized single connection worker 0 in child 30689 for (*)
> > [Tue Jan 27 09:22:22 2009] [info] mod_wsgi (pid=30689): Attach
> > interpreter ''.
> > [Tue Jan 27 09:22:24 2009] [error] [client 32.97.110.54] File does not
> > exist: /opt/lampp/htdocs/favicon.ico
>
> Next thing to work out then is at what point the error occurs when
> using Trac. That is, when WSGI script file first being imported, or
> when request being handled.
>
> To do this, add at start of WSGI script file for Trac:
>
>   import sys
>   print >> sys.stderr, "START"
>
> and at end:
>
>   print >> sys.stderr, "END"
>
> Also wrap the application object in the WSGI script file with first
> bit of code from:
>
>  http://code.google.com/p/modwsgi/wiki/DebuggingTechniques#Tracking_Re...
>
> When used together, should get in Apache error log messages about
> process of importing WSGI script file and handling of request. If END
> doesn't show up in Apache error log, then error during import.
>
> BTW, what database are you using and are you point Trac at subversion
> repository instance. Also, are you running PHP in same web server. If
> you are trying disabling it.
>
> Graham
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Trac 
Users" 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/trac-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to