You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Thorsten von Eicken <Th...@citrix.com> on 2004/07/07 22:45:19 UTC

[users@httpd] apache 2.0.49 mod_auth_ldap frontpagehack broken

I'm trying to get mod_auth_ldap working with the frontpage hack. Unfortunately the build process seems to break the hack. The point of the hack is to have the auth_ldap module defer to mod_auth in the case of a "require valid-user" if the user exists in LDAP so that mod_auth can verify that the user also exists in the AuthUserFile.

This deferral requires that mod_auth_ldap be hooked such that it processes requests before mod_auth gets them. I configured apache using --enable-auth-ldap (and the other options to enable ldap support) and the result is that mod_auth gets all requests *before* mod_auth_ldap, so the frontpage hack doesn't work. How do I switch the order of the two modules when they're compiled-in?

Thanks for any help!
        Thorsten

-----------------------------------------------------------------

Thorsten von Eicken | Chief Architect
Citrix Online Division                      Phone: (805) 690-6445
Citrix Systems, Inc.                          Fax: (805) 690-6471
5385 Hollister Ave                  Customer Care: (888) 259-3826
Santa Barbara, CA 93111                      www.citrixonline.com


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] apache 2.0.49 mod_auth_ldap frontpagehack broken

Posted by Robert Andersson <ro...@profundis.nu>.
Thorsten von Eicken wrote:
> How do I switch the order of the two modules when they're compiled-in?

I can be wrong, but in Apache 2 the order should not matter, because the
modules themselves are supposed to declare their "dependencies". To my
knowledge, you cannot control this by configuration.

This is not an authorative answer, but the only way I can think of is making
them as shared objects and use LoadModule in the correct order. Is that
problem?

Regards,
Robert Andersson


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org