
bradshaw at mcs
Jan 18, 2007, 8:38 AM
Views: 1331
Permalink
|
|
upgrade problems with login
|
|
I have an issue where I am trying to upgrade my trac install from a debian-sarge install of trac 0.9.6 to an ubuntu-dapper with 0.10.3. I will note that the new install basically mimics my old setup the only difference is the name. Here is the config on the working server. sarge with trac 0.9.6 and apache2 2.0.54-5sarge1, and python 2.3 RewriteEngine on RewriteRule ^/$ http://trac.mcs.anl.gov/projects RewriteRule ^/projects/+$ /projects/index.html [L] RewriteCond /www/trac.mcs.anl.gov/projects/$1 -d RewriteRule ^/projects/(.*)(/?.*) /projects/trac.cgi$2 [S=1,E=TRAC_ENV:/www/trac.mcs.anl.gov/projects/$1] RewriteRule ^/projects/(.*) /projects/index.html <Directory "/www/trac.mcs.anl.gov/projects"> AllowOverride None Options ExecCGI -MultiViews +SymLinksIfOwnerMatch AddHandler cgi-script .cgi Order allow,deny Allow from all Satisfy any </Directory> <LocationMatch "/projects/(.*)/login"> SSLRequireSSL AuthPAM_Enabled on AuthType Basic AuthName "secure area" Require valid-user </LocationMatch> <Location /projects> SetHandler mod_python PythonHandler trac.web.modpython_frontend PythonOption TracEnvParentDir /www/trac.mcs.anl.gov/projects PythonOption TracUriRoot /projects </Location> Here is the config from the upgraded machine that isn't working. Ubuntu dapper amd64, trac 0.10.3, apache2 2.0.55-4ubuntu2.1, and python 2.4 RewriteEngine on RewriteRule ^/$ http://trac2.mcs.anl.gov/projects RewriteRule ^/projects/+$ /projects/index.html [L] RewriteRule ^/projects/(.*)/login$ https://trac2.mcs.anl.gov/projects/$1/login [L] RewriteCond /disks/www/trac.mcs.anl.gov/projects/$1 -d RewriteRule ^/projects/(.*)(/?.*) /projects/trac.cgi$2 [S=1,E=TRAC_ENV:/disks/www/trac.mcs.anl.gov/projects/$1] RewriteRule ^/projects/(.*) /projects/index.html <Directory "/disks/www/trac.mcs.anl.gov/projects"> AllowOverride None Options ExecCGI -MultiViews +SymLinksIfOwnerMatch AddHandler cgi-script .cgi Order allow,deny Allow from all </Directory> <LocationMatch "/projects/(.*)/login"> AuthPAM_Enabled on AuthType Basic AuthName "secure area" Require valid-user </LocationMatch> <Location /projects> SetHandler mod_python PythonHandler trac.web.modpython_frontend PythonOption TracEnvParentDir /disks/www/trac.mcs.anl.gov/projects PythonOption TracUriRoot /projects </Location> I have already tested and proven that the "AuthPAM_Enabled on" works properly as my svn repos and authz tools all work as normal. The problem I am seeing is that when I click on the login link in my new trac install I get an apache 500 error in my logs and the trac page says. "Authentication information not available. Please refer to the installation documentation." I am slowly heading towards my wits end. I am sure there is someone out there who can show me the errors of my ways. Thanks for the help. Rick --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Trac Users" group. To post to this group, send email to trac-users[at]googlegroups.com To unsubscribe from this group, send email to trac-users-unsubscribe[at]googlegroups.com For more options, visit this group at http://groups.google.com/group/trac-users?hl=en -~----------~----~----~----~------~----~------~--~---
|