You are not logged in.
Damn this is driving me crazy
I tried every link and it just does not work, either error 403 or 500, I remember that I set it up once, dunno why I cant now...
I tried this one http://trac.edgewall.org/wiki/TracOnArchLinux
and it does not work,
I also tried this one http://wiki.archlinux.org/index.php/SCM_Example_Trac with reference to this one http://wiki.archlinux.org/index.php/Svn but they don't work either. I followed the links every line few times, I'm sure there is not typos or etc, and I can't understand why it does not work!
I'm using apache by the way, installed it as was described here http://wiki.archlinux.org/index.php/LAMP
Any suggestions? Maybe you know some other tool except trac that I can use?
Thanks a lot!
Last edited by skwo (2009-09-02 15:49:41)
ArchLinux x86_64 on Dell Latitude E5410
Offline
Hello skwo!
"Any suggestions? Maybe you know some other tool except trac that I can use?" <- Much people say that redmine can be configured much easier way, but trac should work too.
What's in your configuration file(s)? Is there more information in the apache log after trying to access it ?
Offline
Yea I heard also that redmine is good, I think Ill give it a try.
Anyway about access log, here are the relevant info
192.168.1.100 - - [29/Aug/2009:21:04:45 +0300] "GET /trac HTTP/1.1" 401 1323
192.168.1.100 - - [29/Aug/2009:21:04:49 +0300] "GET /trac HTTP/1.1" 500 1115
.....
192.168.1.100 - - [29/Aug/2009:21:05:47 +0300] "GET /trac HTTP/1.1" 500 1115
.....
192.168.1.100 - - [29/Aug/2009:21:05:52 +0300] "GET /svn HTTP/1.1" 500 1115
192.168.1.100 - - [29/Aug/2009:21:06:24 +0300] "GET /svn HTTP/1.1" 500 1115
192.168.1.100 - - [29/Aug/2009:21:06:24 +0300] "GET /svn HTTP/1.1" 500 1115
192.168.1.100 - - [29/Aug/2009:21:06:25 +0300] "GET /svn HTTP/1.1" 500 1115
192.168.1.100 - - [29/Aug/2009:21:06:25 +0300] "GET /svn HTTP/1.1" 500 1115
SVN I think had only Error 500, while trac had also 401, cant give more information since I already removed both packages...
About configuration files:
SVN Works fine with SSL enabled as described in the SVN setup wiki article, however I don't want SSL.
I tried to put the <Location /[svn/trac]> tags both in the httpd-vhosts.conf inside <VirtualHost *:80>, and including vhosts.conf in the httpd.conf but then I get error I desribed, but not only that I can not access /svn or /trac even / can be indexed, the error says that maybe I dont have permissions to index those pages.
The same happens if I put <Location ..> tags inside httpd.conf inside or outside the <VirtualHost *:80> (tried both versions), nothing helps.
Last edited by skwo (2009-08-30 09:52:17)
ArchLinux x86_64 on Dell Latitude E5410
Offline
1. It would be better for me to see the whole config.
2. Redmine is good too according to my friend, it's worth to try really, it's ruby-based, you can write easily script for it, it support so much things too.
Offline
You can see the exact config I wrote here http://trac.edgewall.org/wiki/TracOnArchLinux at the end of the document you can see a section "configure apache" Exactly what they wrote here I tried to write in httpd-vhosts.conf and also tried to write this in httpd.conf (only one of them at time not both of course).
ArchLinux x86_64 on Dell Latitude E5410
Offline
Ok now it works, in case if anybody needs the config file here it it:
cat /etc/httpd/conf/httpd.conf
.........
<VirtualHost *:80>
DocumentRoot "/srv/http"
<Location /svn>
DAV svn
SVNParentPath /home/svn/repo
AuthzSVNAccessFile /home/svn/.svn-policy-file
AuthName "SVN Repositories"
AuthType Basic
AuthUserFile /home/svn/.svn-auth-file
Satisfy Any
Require valid-user
</Location>
<Location /trac>
AuthType Basic
AuthName "Trac Projects"
AuthUserFile /home/svn/.svn-auth-file
Require valid-user
SetHandler mod_python
PythonHandler trac.web.modpython_frontend
PythonOption TracEnvParentDir /home/trac
PythonOption TracUriRoot /trac
</Location>
</VirtualHost>
.......
For others who prefer Redmine instead I wrote an article in the wiki the explains how to setup redmine:
http://wiki.archlinux.org/index.php/Redmine
I have both, in my opinion redmine is better
Oh and djszapi Thanks for help
ArchLinux x86_64 on Dell Latitude E5410
Offline
Hello, I have just published a new package (redmine-mysql-svn) into AUR. I hope that this makes the setup of redmine easier for Arch users.
http://aur.archlinux.org/packages.php?ID=31275
Feedback is very welcome.
Offline