On Sep 24, 5:15 pm, Graham Dumpleton <graham.dumple...@gmail.com>
wrote:
> On Sep 24, 4:11 pm, "Cooke, Mark" <mark.co...@siemens.com> wrote:
>
>
>
>
>
> > Hello,
>
> > > I cannot seem to get TRAC to work under Apache.
>
> > > First of all, I can access subversion through apache w/o any problems.
>
> > > Other discussion that I found seen to indicate that I may have a
> > > version mismatch been the Apache and Python.
>
> > > I have installed the following:
> > >     -- python 2.5 installed with  "python-2.5.msi"
> > >     -- apache with "apache_2.2.13-win32-x86-openssl-0.9.8k.msi"
> > >     -- mod_python with "mod_python-3.3.1.win32-py2.5-Apache2.2.exe"
>
> > Graham Dumpleton has been trying to persuade everyone on the mod_python
> > list to move to mod_wsgi for ages, it is generally faster and most
> > importantly actively developed (mod_python seems pretty dead now).  So I
> > used mod_wsgi to run trac (before I was asked not to use apache) with no
> > problems.  Here's what I had in my httpd.conf:
>
> Probably make no difference in this case as my guess would be that a
> mismatch is occurring as he says, but between version of subversion
> used by mod_svn and what Python subversion wrappers were compiled
> against or require.
>
> If it if something like that and isn't resolved, changing to mod_wsgi
> will not matter.


Actually, I guess the way to validate whether that is the issue, is to
ensure that the mod_dav_svn module is disabled in Apache and then
test.

Graham

> Graham
>
>
>
> > LoadModule wsgi_module modules/mod_wsgi.so
>
> > ...and...
>
> > #
> > ========================================================================
> > === #
> > # ==================================================================
> > Trac === #
> > #
> > ========================================================================
> > === #
> > #
> > # Trac is accessed using WSGI...
> > #
> > WSGIScriptAlias /trac D:/TRAC/apache/trac.wsgi
>
> > <Directory D:/TRAC/apache>
> >   WSGIApplicationGroup %{GLOBAL}
> >   Order deny,allow
> >   Allow from all
> > </Directory>
>
> > ...and trac.wsgi (nice and simple but stripped of comments)...
>
> > import sys
> > sys.stdout = sys.stderr
>
> > import os
> > os.environ['TRAC_ENV_PARENT_DIR'] = 'd:/TRAC/sites'
> > os.environ['PYTHON_EGG_CACHE'] = 'd:/TRAC/eggs'
>
> > import trac.web.main
> > application = trac.web.main.dispatch_request
>
> > ...to serve all trac environments stored under 'd:/TRAC/sites'.  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 trac-users@googlegroups.com
To unsubscribe from this group, send email to 
trac-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to