Chris Nelson wrote:
> I'm running Fedora Core 7, Apache httpd 2.2.8, and trac 0.10
> (installed with the Fedora Package Manager application) and I have an
> essentially empty project environment. No matter what I do, I get
> 403 Forbidden when trying to access trac via "http://hostname/trac".
> There's nothing in the Apache logs which helps much. I've verified
> that all the directories on the patch to trac.cgi are readable by
> everyone. Is there a cookbook I can follow to set up web access to
> trac? Something I can look at to see what part of trac is forbidden
> to me?
I hate is when I fix something right after asking about it. My
httpd.conf file had gitweb set up already. When I take that out, httpd
complains that it needs read/write access to the trac environment.
When I open up the permissions on the files there, I get internal server
errors:
Traceback (most recent call last):
File "/usr/lib/python2.5/site-packages/trac/web/main.py", line 406, in
dispatch_request
dispatcher.dispatch(req)
File "/usr/lib/python2.5/site-packages/trac/web/main.py", line 191, in
dispatch
chosen_handler = self._pre_process_request(req, chosen_handler)
File "/usr/lib/python2.5/site-packages/trac/web/main.py", line 263, in
_pre_process_request
chosen_handler = f.pre_process_request(req, chosen_handler)
File "/usr/lib/python2.5/site-packages/trac/versioncontrol/api.py",
line 73, in pre_process_request
self.get_repository(req.authname).sync()
File "/usr/lib/python2.5/site-packages/trac/versioncontrol/api.py",
line 104, in get_repository
repos = self._connector.get_repository(rtype, rdir, authname)
File "/usr/lib/python2.5/site-packages/trac/versioncontrol/svn_fs.py",
line 234, in get_repository
repos = SubversionRepository(dir, None, self.log)
File "/usr/lib/python2.5/site-packages/trac/versioncontrol/svn_fs.py",
line 265, in __init__
% path)
TracError: /srv/svn does not appear to be a Subversion repository.
So, several more questions:
1. What should permissions and ownerships be like in the trac
environment so that the web server can seem them but they aren't mode
777?
2. How can I configure Apache httpd to allow gitweb *and* trac access
without conflict?
3. I'm not going to use Subversion so how do I tell trac that to get rid
of the errors above?
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---