> 
> I'm just doing a Trac installation.
> I'm running Trac on an Apache Webserver with mod_python on a Windows
> machine. In the Trac Guide there is written this:
> 
Umm, is there any reason why you are using mod_python?  From what I researched, 
mod_wsgi seems to be the recommended and actively maintained alternative with 
some excellent documentation by Graham Dumpleton:-

http://code.google.com/p/modwsgi/
http://code.google.com/p/modwsgi/wiki/IntegrationWithTrac

> 
> ======================================
> Generating the Trac cgi-bin directory ΒΆ
> 
> In order for Trac to function properly with FastCGI or mod_python,
> you
> need to have a trac.cgi file. This is an executable which loads the
> appropriate Python code. It can be generated using the deploy option
> of trac-admin.
> 
> There is, however, a bit of a chicken-and-egg problem. The trac-admin
> command requires an existing environment to function, but complains
> if the deploy directory already exists. This is a problem, because
> environments are often stored in a subdirectory of the deploy. The
> solution is to do something like this:
> 
> mkdir -p /usr/share/trac/projects/my-project
> trac-admin /usr/share/trac/projects/my-project initenv
> trac-admin /usr/share/trac/projects/my-project deploy /tmp/deploy
> mv /tmp/deploy/* /usr/share/trac
> 
> ======================================
> 
> Now my questions:
> 1. Do i have to do that really? It works without that, too.
> 2. Whereto do I copy the generated directories? In my Apache
> installation or in my Trac environment?
> 
...you will need to create a .wsgi script for Trac using mod_wsgi but Graham 
provides excellent examples in the links above.
> 
> Thanks in advance!
> akabat
> 
No problem, I hope this helps...

~ mark c

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