No "Location" directives -- Siteminder is loaded as a module :
LoadModule sm_module "/usr/local/webagent/bin/libmod_sm22.so"
SmInitFile "/etc/httpd/conf/WebAgent.conf"
I'm not behind a proxy -- but I couldn't figure out a way for Trac to just
use the REMOTE_USER header. I tried disabling the plugin
(remote-user-auth.py) but then when I try "login" I get the same error
(Authentication information not available) , but the header stays at
"login" . This is from trac.log: (note, no "myusername"):
2015-08-05 15:57:39,160 Trac[main] DEBUG: Dispatching <RequestWithSession
"GET '/login/'">
2015-08-05 15:57:39,172 Trac[api] WARNING: Unable to find repository
'(default)' for synchronization
2015-08-05 15:57:39,174 Trac[main] WARNING: [128.183.232.222]
HTTPInternalError: 500 Trac Error (Authentication information not
available. Please refer to the <a
href="/trac/wiki/TracInstall#ConfiguringAuthentication" title="Configuring
Authentication">installation documentation</a>.)
2015-08-05 15:57:39,176 Trac[session] DEBUG: Retrieving session for ID
'18a1d9e1907fa10c73e81b38'
2015-08-05 15:57:39,330 Trac[chrome] DEBUG: Prepare chrome data for request
On Wednesday, August 5, 2015 at 3:42:50 PM UTC-4, RjOllos wrote:
>
>
>
> On Wednesday, August 5, 2015 at 12:15:17 PM UTC-7, Robert Jacobson wrote:
>>
>>
>>
>> I assume you do NOT need to see the SiteMinder stuff in httpd.conf.
>>
>> trac.conf:
>>
>> LoadModule wsgi_module modules/mod_wsgi.so
>> #WSGIScriptAlias /wsgi_app /data/www/html/test.wsgi
>> #WSGIScriptAlias /wsgi_app2 /data/www/html/test.py
>>
>> Alias /trac/chrome/common
>> /data/www/html/trac/testproject/deploy/htdocs/common
>> Alias /trac/chrome/site /data/www/html/trac/testproject/deploy/htdocs/site
>>
>> <Directory "/data/www/html/trac/testproject/deploy/trac/htdocs">
>> Order allow,deny
>> Allow from all
>> </Directory>
>>
>> WSGIScriptAlias /trac
>> /data/www/html/trac/testproject/deploy/cgi-bin/trac.wsgi
>>
>> <Directory /data/www/html/trac/testproject/deploy/cgi-bin>
>> WSGIApplicationGroup %{GLOBAL}
>> Order deny,allow
>> Allow from all
>> </Directory>
>>
>> # This is commented out because nothing worked when it was in effect.
>> #<Location "/trac/login">
>> #RequestHeader set REMOTE_USER %{REMOTE_USER}s
>> #</Location>
>>
>
> I'd be interested to see the SiteMinder stuff if it's a Location directive
> for a path.
>
> It appears you aren't running TracStandalone with mod_proxy, so I'm not
> sure you need to use the configuration discussed
> in TracStandalone#Authenticationfortracdbehindaproxy.
>
>
--
You received this message because you are subscribed to the Google Groups "Trac
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/trac-users.
For more options, visit https://groups.google.com/d/optout.