Hi everyone.  New trac user, first post here.

I have trac set up in a virtual host:

<VirtualHost *>
    ServerName dev.commercekids.org
    DocumentRoot /var/lib/trac/commercekids.org
    <Location />
        SetHandler mod_python
        PythonInterpreter main_interpreter
        PythonHandler trac.web.modpython_frontend
        PythonOption TracEnv /var/lib/trac/commercekids.org
#       PythonOption TracUriRoot /
    </Location>
    <Location /login>
        AuthType Digest
        AuthName "commercekids.org development"
        AuthUserFile /var/lib/trac/commercekids.org/.htdigest
        Require valid-user
    </Location>
</VirtualHost>

I can start out at the host root (dev.commercekids.org), log in, and use 
most of the functionality.  But whenever I try to click on a wiki link, I 
get a 403 error, Forbidden.  E.g. if I click on the link to the TracGuide 
on the home page, I get "Forbidden:  You don't have permission to 
access /wiki/TracGuide on this server."  And the apache log shows:

  client denied by server configuration: /usr/share/dokuwiki/TracGuide

Now, /usr/share/dokuwiki is the DocumentRoot of my main server.  It is not, 
as you can see above, the DocumentRoot of the virtual host.  So this is 
some kind of Apache configuration problem, but I can't figure it out or 
find any solution on the net.

I've tried adding and removing the DocumentRoot and PythonOption 
TracUriRoot settings, with no effect.  I even tried adding a new 
<Location /wiki> stanza, with the same content as <Location />, but that 
didn't help either.

One other fact:  I can also access the trac project home page directly on 
the apache server, as http://helium/trac/commercekids.org.  When I do 
this, I can follow wiki links fine.  So again this seems like a 
VirtualHost configuration problem.

Has anyone seen this problem before?  Any ideas on how to solve it?

Thanks,
Andrew.

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