[Trac] multiple projects -- fubar!!

bruce bedouglas at earthlink.net
Thu Mar 3 13:39:37 EST 2005


i've blown something!!

when i have just the following in the httpd.conf file, i can display a trac
site using the --> http://192.1681.52/cgi-bin/trac.cgi

Alias /trac/ /usr/share/trac/htdocs/
<Directory /usr/share/trac/htdocs>
   Options Indexes MultiViews
   AllowOverride None
  Order allow,deny
  Allow from all
</Directory>
<Location "/cgi-bin/trac.cgi">
  SetEnv TRAC_ENV "/var/projects/project_1/htdocs"
</Location>

<Location "/cgi-bin/trac.cgi/login">
AuthType Basic
AuthName "Project 1"
AuthUserFile /var/projects/project_1/htdocs/trac.htpasswd
Allow from all
#Require valid-user
</Location>


when i comment out the above, and add the following... i can no longer get
trac via the above, which is what i expected. however, i can't seem to find
anyway to gte trac to come up at all. when i do http://192.168.1.52/trac i
get an error stating the 'page can't be found'. if i do
http://192.168.1.52/trac/ i get the dir listing which is not what i want...
if i do http://192.168.1.52/trac/projects i get a 'page can't be found'


Alias /trac/ /usr/share/trac/htdocs/
<Directory "/usr/share/trac/htdocs">
   Options Indexes MultiViews
   AllowOverride None
   Order allow,deny
   Allow from all
</Directory>

<Location />
   SetHandler mod_python
   PythonHandler trac.ModPythonHandler
   PythonOption TracUriRoot /
   PythonOption TracEnvParentDir "/var/projects"
</Location>



so, obviously i'm screwing something up...

here's what my system looks like regarding trac...

ls /var/projects
 project_1

(i don't have a '/var/trac' dir)

ls /usr/share/trac
 cgi-bin  htdocs  templates   wiki-default


any ideas/thoughts.... 


thanks..

bruce

i'm dealing with a situation where i'm not quite sure what should be in the
config file, if my system/dirs is/are setup correctly, combined with what i
should be entering as the correct URL to access the site!!!

once i get this up/running, i'm definitely writing it up!!!

-------------- next part --------------
A non-text attachment was scrubbed...
Name: winmail.dat
Type: application/ms-tnef
Size: 2632 bytes
Desc: not available
Url : http://lists.edgewall.com/archive/trac/attachments/20050303/2828300a/winmail.bin


More information about the Trac mailing list