Opened 18 years ago
Closed 18 years ago
#5208 closed defect (invalid)
Fresh installation of Trac, cannot Login
Reported by: | Owned by: | Jonas Borgström | |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | general | Version: | |
Severity: | normal | Keywords: | |
Cc: | Branch: | ||
Release Notes: | |||
API Changes: | |||
Internal Changes: |
Description
I have a fresh installation of Trac. I can get to the "Welcome" page however when I hit "Login", the window pops up for my username/password. After 3 tries I get the "Authorization Required" page.
The following appears in my error.trac.log:
[Mon Apr 23 19:33:46 2007] [error] [client 192.168.1.1] import neo_cgi [Mon Apr 23 19:33:46 2007] [error] [client 192.168.1.1] /usr/lib/python2.5/site-packages/trac/web/clearsilver.py:128: RuntimeWarning: Python C API version mismatch for module neo_cgi: This Python has API version 1013, module neo_cgi has version 1012. [Mon Apr 23 19:33:46 2007] [error] [client 192.168.1.1] import neo_cgi [Mon Apr 23 19:34:33 2007] [error] [client 192.168.1.1] GROUP: jungerle not in required group(s)., referer: https://my.server.com/
Here's my VirtualHost file:
ServerName my.server.com <VirtualHost *:443> SSLEngine On SSLCertificateFile /etc/apache2/ssl/apache.pem ServerAdmin webmaster@localhost DocumentRoot /usr/share/trac/cgi-bin <Directory /usr/share/trac/cgi-bin/> Options Indexes FollowSymLinks MultiViews ExecCGI AllowOverride All Order allow,deny allow from all </Directory> Alias /trac "/usr/share/trac/htdocs" <Location /trac.cgi> SetEnv TRAC_ENV "/var/lib/trac/myproject" </Location> DirectoryIndex trac.cgi ErrorLog /var/log/apache2/error.trac.log CustomLog /var/log/apache2/access.trac.log combined <Location /mpinfo> SetHandler mod_python PythonHandler mod_python.testhandler </Location> <Location /trac.cgi/login> AuthType Basic AuthName "Trac" DAV svn # SVNParentPath /home/svn/repositories SVNPath /home/svn/repositories/myproject AuthUserFile /home/svn/authentication/svn-auth AuthzSVNAccessFile /home/svn/authentication/access-rules Require valid-user </Location> <Location /svn> DAV svn #SVNPATH /home/svn/repositories/myproject SVNParentPath /home/svn/repositories AuthType Basic AuthName "Subversion Repositories" AuthUserFile /home/svn/authentication/svn-auth AuthzSVNAccessFile /home/svn/authentication/access-rules Require valid-user </Location> </VirtualHost>
Finally, when access the code via Subversion (https://my.server.com/svn/myproject) authentication works just fine.
I have a feeling I'm missing something simple, but I'm stuck. All help is greatly appreciated.
Thanks, —Jason
This is an installation issue. As stated on the 'newticket' page, installation issue should be asked on the MailingList. Do not forget to report the software versions you use (Trac, Apache, etc.).