Running redmine on Apache2 on Windows; using SSPI authentication; is it possible?

Added by Roger Lipscombe about 5 years ago

I'm currently using Trac to manage a small number of projects. I've got Trac running under Apache, using mod_python, on Windows 2003. I'm using mod_sspi to manage transparent authentication.

I've got a couple of questions:

1. Can someone point me at some documentation for running Redmine under Apache, rather than under WEBrick? Can I use mod_ruby, or should I use FCGI instead? I found a page on the Rails Wiki (http://wiki.rubyonrails.org/rails/pages/mod_ruby), that suggests that mod_ruby is a bad idea.
2. Can I get Redmine to use Apache's authn information, meaning that I can continue to use SSPI?

I'll continue to poke around, but if anyone's already done this, I'd appreciate some pointers.

Thanks in advance,
Roger.

Replies (30)

RE: Running redmine on Apache2 on Windows; using SSPI authentication; is it possible? - Added by haroonie haroonie over 2 years ago

haroonie haroonie wrote:

I followed Thomas's guide using mod_auth_sspi.so v1.0.3 and Adam's HTTP Authentication plugin v.0.3.0 and it worked for me. By using the plugin, I did not need to modify the application.rb and this worked on Redmine v.1.0.4.

this is using a Bitnami Redmine install on a windows xp machine. we really wanted transparent authentication and this 'fix' was exactly what we were looking for.

RE: RE: Running redmine on Apache2 on Windows; using SSPI authentication; is it possible? - Added by Serge ST about 2 years ago

Can someone send me the http.conf file?

y cant figure out how to configure it :(

RE: RE: Running redmine on Apache2 on Windows; using SSPI authentication; is it possible? - Added by Serge ST about 2 years ago

finally go it...

this is my apache config if someone has problems

<Directory "C:/redmine/public/">
Options FollowSymLinks
AllowOverride None
Order deny,allow
allow from all
</Directory>

DocumentRoot C:/redmine/public
ProxyPreserveHost On
<Location /redmine>
Options +FollowSymLinks +SymLinksIfOwnerMatch
Order allow,deny
Allow from all

ProxyPass         balancer://redmine_cluster
ProxyPassReverse balancer://redmine_cluster
RewriteEngine     On
RewriteCond %{IS_SUBREQ} ^false$
RewriteCond %{LA-U:REMOTE_USER} (.+)
RewriteRule . - [E=RU:%1]
RequestHeader add X_REMOTE_USER_666 %{RU}e
AuthName          "Redmine Authentication" 
AuthType SSPI
SSPIAuth On
SSPIAuthoritative On
SSPIOmitDomain On
#SSPIUsernameCase lower
require valid-user
&lt;/Location&gt;

<Proxy balancer://redmine_cluster>
BalancerMember http://localhost:3000
BalancerMember http://localhost:3001
</Proxy>

RE: Running redmine on Apache2 on Windows; using SSPI authentication; is it possible? - Added by David Yoffe over 1 year ago

How to install and integrate redmine into cyn.in on Cyn.in - Community Edition v3.1.3 (on debian 5.0.4 i38) ?
for bug trackers, bug tracking, request tracking, etc..

1 2 (26-30/30)