You are not logged in.

#1 2008-09-08 14:57:04

sud_crow
Member
From: Argentina
Registered: 2003-06-30
Posts: 546
Website

trac (project management) and apache

I'm having some problems setting up Trac as explained in this wiki article:

http://wiki.archlinux.org/index.php/SCM_Example_Trac

The problem is with Apache and its configuration.

Im getting a 403 Forbidden when trying to access the trac web.

Here is the error:

Forbidden

You don't have permission to access / on this server.

Additionally, a 401 Authorization Required error was encountered while trying to use an ErrorDocument to handle the request.

Apache/2.2.9 (Unix) mod_ssl/2.2.9 OpenSSL/0.9.8h DAV/2 mod_python/3.3.1 Python/2.5.2 SVN/1.4.6 Server at 192.168.1.69 Port 80

I know trac is working ok because I can access using the tracd webserver.

Here is my httpd-vhosts.conf section of trac:

<VirtualHost *:80>
    ServerAdmin email@example.com
    DocumentRoot "/var/empty"
    ServerName scm.cracker.lan

<Location />
   Require valid-user
   AuthType Digest
   AuthName "svnrepos"
   AuthDigestDomain http://192.168.1.69/
   AuthDigestProvider file
   AuthUserFile /home/repo/conf/scm-user
 </Location>
 <Location /svn>
   DAV svn
   SVNParentPath /home/repo/svn
   SVNPathAuthz off
 </Location>
 <Location /trac>
   SetHandler mod_python
   PythonHandler trac.web.modpython_frontend
   PythonOption TracEnvParentDir /home/repo/trac
   PythonOption TracUriRoot /trac
 </Location>

</VirtualHost>

All the folders and files named here exist.
Since Arch changed the paths and the way Apache worked, I have been a bit lost on its configuration.

On the discussion tab of the wiki article, there is someone who couldn't get trac to work with this settings and used ScriptAlias instead, I dont know how to do that.

Regards,

Last edited by sud_crow (2008-09-08 14:58:01)


Leonardo Andrés Gallego
www.archlinux-es.org || Comunidad Hispana de Arch Linux

Offline

#2 2008-10-09 15:25:47

sud_crow
Member
From: Argentina
Registered: 2003-06-30
Posts: 546
Website

Re: trac (project management) and apache

I solved this issue, will be updating the documentation in the wiki soon.

Regards.


Leonardo Andrés Gallego
www.archlinux-es.org || Comunidad Hispana de Arch Linux

Offline

Board footer

Powered by FluxBB