You are not logged in.

#1 2012-07-29 15:37:59

odp
Member
Registered: 2012-04-26
Posts: 136

[SOLVED]trac permission error

Hi I'm trying to install TRAC on my arch machine and found the documentation very confusing.
I've installed it with mod_wsgi and the trac deamon is working fine.

However, trying to run it on apache I receive this error:

TracError: IOError: [Errno 13] Permission denied: '/home/odp/cookie/VERSION'

Where cookie is my project name.

So the apache user: http does not have permissions to read into my home directory how do I solve this?

This is from my http.conf seems to be ok

 

WSGIScriptAlias /cookie /srv/http/cookie/cgi-bin/trac.wsgi

<Directory /srv/http/cookie/cgi-bin>
    WSGIApplicationGroup %{GLOBAL}
    Order deny,allow
    Allow from all
</Directory>

<Location "/srv/http/cookie/login">
  AuthType Basic
  AuthName "Trac"
  AuthUserFile /srv/http/trac.htpasswd
  Require valid-user
</Location>

Last edited by odp (2012-07-29 17:00:33)

Offline

#2 2012-07-29 16:59:52

odp
Member
Registered: 2012-04-26
Posts: 136

Re: [SOLVED]trac permission error

Sorry for my question. Often one needs to ask the question to find the answer.

The answer was simple dont deploy in ones home directory. smile

Offline

Board footer

Powered by FluxBB