httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jon Hadley <>
Subject [users@httpd] LDAP authentication behind proxy?
Date Tue, 14 Sep 2010 22:39:06 GMT
In the following, the service on 8002 is a theming proxy, which also proxies the trac service
on 8202 (among other things).  All public requests come via 8022 (a testing port, that would
usually be 80)

The problem is, LDAP authentication (fairly obviously) only works when accessing the trac
site via the latter port 8202, not via 8002, or indeed 8022. 

Is there *any* way of configuring apache so it works on the other port too?

More background here:


           ProxyRequests Off
           <Proxy *>
               Order deny,allow
               Allow from all

           ProxyPreserveHost On

           RewriteEngine On
           RewriteCond %{HTTP:Authorization} ^(.*)
           RewriteRule ^/(.*)$1 [P]


	WSGIDaemonProcess trac stack-size=524288 python-path=/usr/lib/python2.5/site-packages
	WSGIScriptAlias /trac /home/web/foo/parts/trac/tracwsgi/cgi-bin/trac.wsgi
	WSGIProcessGroup trac
	WSGIApplicationGroup %{GLOBAL}


           <Directory "/home/web/foo/parts/trac/tracwsgi/cgi-bin">
                   Options +Indexes FollowSymLinks
                   AllowOverride None
                   Allow from all
                   Order allow,deny

           <Location "/trac">
                   AuthBasicProvider ldap
                   AuthType Basic
                   AuthzLDAPAuthoritative off
                   AuthName "Login"
                   AuthLDAPURL "ldap://,dc=org?uid"
                   AuthLDAPBindDN "cn=admin, dc=foo-bar, dc=org"
                   AuthLDAPBindPassword secretword
                   require valid-user


The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message