[Trac] multiple projects -- fubar!!
bruce
bedouglas at earthlink.net
Thu Mar 3 14:53:45 EST 2005
stephen..
i tried what you suggested.. no luck!!
doing a http://192.168.1.52/project_1 gives a server error..
ls /var/projects/project_1
htdocs project_1_svn
is this correct? should there be something else in this dir?
also, when i change the <Location /> --><Location /projects>
i get an error when i do http://192.168.1.52/projects/project_1..
something simple's wrong....
can someone tell me what there dir structure looks like for a multiple proj
configuration... ?????
-bruce
-----Original Message-----
From: Frazier, Stephen [mailto:frazier at ugs.com]
Sent: Thursday, March 03, 2005 11:10 AM
To: trac at lists.edgewall.com; bedouglas at earthlink.net; Matthew Good; Brad
Anderson
Subject: RE: [Trac] multiple projects -- fubar!!
Bruce,
Based on your settings, you should access the project listing by
http://192.168.1.52/. To access project_1's trac, use
http://192.168.1.52/project_1.
The directory listing you are getting from http://192.168.1.52/trac is
the common Trac files(Clearsilver templates, etc.).
If you wanted to use a URL of the form
http://192.168.1.52/projects/project_1, you need to change the Location
block from / to /projects.
Steve
-----Original Message-----
From: trac-bounces at lists.edgewall.com
[mailto:trac-bounces at lists.edgewall.com] On Behalf Of bruce
Sent: Thursday, March 03, 2005 1:40 PM
To: 'Matthew Good'; 'Brad Anderson'; trac at lists.edgewall.com
Subject: [Trac] multiple projects -- fubar!!
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!!!
More information about the Trac
mailing list