[Trac] Installing trac without changing apache.conf
Karol Krizka
kkrizka at gmail.com
Thu Dec 29 17:28:35 CST 2005
Hi,
I'm trying to install Trac on sf.net servers for a project that I am part of.
So I don't have access to change many things. Everything went good so far, I
got the precompiled binaries from the debian website and installed them into
my home directory. Changed PYTHONPATH and LD_LIBRARY_PATH to point to them.
Also I applied a patch that I found to disable svn when initializing a
project by passing --none as path to repo. Now trac works and you can see it
here:
http://amsn.sourceforge.net/cgi-bin/trac.cgi
Now the problem, I cannot login. When I click login, I get the following
error:
Trac detected an internal error: Authentication information not available.
I have added no auth stuff because I don't know how to add it to .htaccess so
the login box only pops up when you press login. The following is
my .htaccess:
SetEnv TRAC_ENV "/tmp/persistent/amsn/trac"
SetEnv PYTHONPATH "/home/groups/a/am/amsn/usr/lib/python2.3/site-packages"
SetEnv LD_LIBRARY_PATH "/home/groups/a/am/amsn/usr/lib"
I also tried adding the following:
<Files "login">
AuthType Basic
AuthName "Trac"
AuthUserFile /somewhere/trac.htpasswd
Require valid-user
</Files>
and replaceing "login" with "trac.cgi/login", but no luck. Any idea how I
could I fix it without having to edit apache.conf as I don't have write
access to it?
--
Karol Krizka
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.edgewall.com/archive/trac/attachments/20051229/2a922846/attachment.pgp
More information about the Trac
mailing list