On Jul 28, 1:52 pm, Jeff Chastain <[EMAIL PROTECTED]> wrote: > I have Apache 2.2 running on a Windows 2K3 box and I have installed > Trac which I am looking to host multiple projects from on a single > domain (projects.domain.net). I also have Subversion running on this > same Apache instance on a different domain (svn.domain.net). > > The SVN part is working just fine and Trac appears to be working when > I run it using the tracd server. However, I am having trouble getting > it to work through Apache. I am new to both Trac and Apache, so I > apologize if this is something obvious, but I have been searching the > web and tinkering for hours now and have not been able to make this > work. > > I have added the following virtual host definition to my httpd- > vhosts.conf file: > > <VirtualHost *:80> > ServerName projects.domain.net > DocumentRoot c:/projects > > SetEnv TRAC_ENV "c:/projects" > > # Route "/" to the Trac cgi processor > ScriptAliasMatch ^/(.*) "c:/Program Files/Apache Group/Apache2/ > cgi-bin/trac.cgi/$1" > > <Location /> > SetHandler mod_python > PythonHandler trac.web.modpython_frontend > PythonOption TracEnv c:/projects > PythonOption TracUriRoot / > </Location>
It looks like you are trying to serve Trac using both CGI and mod_python at the same time, with CGI script taking precedence, but directory the CGI script is in not being enabled so that access to it is allowed. Do you want to use CGI or mod_python? If you want to use mod_python, try commenting out the ScriptAliasMatch directive. Graham > <LocationMatch /login> > AuthType Basic > AuthName "Projects Server" > AuthUserFile c:/SVNRepositories/svn.pass > Require valid-user > </LocationMatch> > </VirtualHost> > > When I attempt to browse to projects.domain.net/TracProj, I get an > error stating that directory listing is denied. I put an htm file in > the root directory and that was found, so this is sort of working - > the problem is just with the Trac configuration. > > Can anybody see anything that I am obviously doing wrong here? > > Thanks in advance. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
