I still learning apache, I have trac up and running using this configuration:

<Location "/trac">
        AuthType Basic
        AuthName "IT Project"
        AuthShadow on
        Require group it
   SetHandler mod_python
   PythonHandler trac.web.modpython_frontend
   # "/svn/trac/foobar" is the folder you gave to trac-admin initenv earlier
   PythonOption TracEnv /var/local/trac/it
   # "/trac" is the same as the Location above
   PythonOption TracUriRoot /trac
   # "/tmp" should be some writable temporary directory
   SetEnv PYTHON_EGG_CACHE /tmp
   # "trac" can be any string, but must be the same for all
   # Trac instances on the same Apache install
   PythonInterpreter trac
</Location>
----------------------------------------------------------------------------

If I try to do this:

NameVirtualHost 10.0.1.30

<VirtualHost 10.0.1.30>
        ServerName it.foo.com
        ServerAdmin [EMAIL PROTECTED]
        DocumentRoot /var/local/trac/
        Alias /trac-htdocs /var/local/trac/it/htdocs
        <Location "/trac/">
        SetHandler mod_python
        PythonHandler trac.web.modpython_frontend
        PythonOption TracEnvParentDir /var/local/trac/
        PythonOption TracUriRoot /trac/
        PythonDebug on
        AuthType Basic
        AuthName "it.foo.com"
        AuthShadow on
        Order deny,allow
        Deny from none
        SetEnv PYTHON_EGG_CACHE /tmp
        PythonInterpreter trac
        Require group it
</Location>
</VirtualHost>

I see a list of the files in my trac directory

Index of /it
 Name           Last modified Size      Description

 Parent Directory   -
 VERSION                05-May-2008 11:23       27
 attachments/   05-May-2008 11:23        -
 conf/          21-May-2008 14:17        -
 db/                    21-May-2008 14:35        -
 htdocs/                05-May-2008 13:44        -
 log/           05-May-2008 11:23        -
 plugins/               05-May-2008 11:23        -
 templates/     05-May-2008 11:23



Any suggestions would be appreciated.

--Art Gorman





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