Hello everyone,
Im using Trac with mod_python and apache
This is my current configuration inside the httpd.conf:
<VirtualHost *:80 >
DocumentRoot /opt/trac/htdocs
ServerName bugs.winsbydefault.com
<Directory /opt/trac/*>
Options +IncludesNoExec +Includes
</Directory>
<Location />
SetHandler mod_python
PythonHandler trac.web.modpython_frontend
PythonOption TracEnvParentDir "/opt/trac"
SetENV PYTHON_EGG_CACHE /opt/trac/plugins
PythonOption TracUriRoot /
</Location>
<LocationMatch "/[^/]+/login">
AuthType Basic
AuthName "trac"
AuthUserFile /opt/trac/.htpasswd
Require valid-user
</LocationMatch>
Alias /trac /opt/trac/htdocs
Alias /css /opt/trac/htdocs/css
<Location /trac>
SetHandler None
</Location>
</VirtualHost>
Everything works, you can submit issues (as anonymous) and allIt
that, but I cannot login with the error:
Authentication information not available. Please refer to the
installation documentation.
access_log shows:
85.195.52.231 - - [17/Jan/2008:19:03:41 +0100] "GET /test/login HTTP/
1.1" 500 3056
It worked if i did not use VirtualHost and configure my server with
<Location /projects>
SetHandler mod_python
PythonInterpreter main_interpreter
PythonHandler trac.web.modpython_frontend
PythonOption TracEnvParentDir /opt/trac
PythonOption TracUriRoot /projects
</Location>
<LocationMatch "/projects/[^/]+/login">
AuthType Basic
AuthName "Trac"
AuthUserFile /opt/trac/.htpasswd
Require valid-user
</LocationMatch>
as the tutorial tells you to ( http://trac.edgewall.org/wiki/TracModPython
) but I want to be able to use VirtualHost,
Ideas?
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---