You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by "Yu, Ming" <Mi...@jhuapl.edu> on 2006/03/15 18:45:49 UTC

[users@httpd] Compiling Apache 2.2.0 on Solaris 10 with mod_authnz_ldap support

I have downloaded openldap and apache2.2.0.  I am looking for
instructions of how to compile the apache web server with
mod_authnz_ldap.

Thanks,

- Ming YU
- Johns Hopkins University Applied Physics Lab


---------------------------------------------------------------------
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] Compiling Apache 2.2.0 on Solaris 10 with mod_authnz_ldap support

Posted by Ricardo Stella <st...@rider.edu>.

Yu, Ming wrote:
> I have downloaded openldap and apache2.2.0.  I am looking for
> instructions of how to compile the apache web server with
> mod_authnz_ldap.
>
> Thanks,
>
> - Ming YU
> - Johns Hopkins University Applied Physics Lab
>
>
>   

Assuming you have OpenLdap in /usr/local/openldap, OpenSSL in
/usr/local/ssl, BerkeleyDB in /usr/local/BerkeleyDB and perl in
/usr/local/bin, and you want to install it in /usr/local/apache2...

Create a 'myconfigure.sh' script and add the following - Adjust to fit
your environment if the above is not what you have/need:

---BEGIN---

#! /bin/sh
#
# Created by configure

### NOTE:  The following envs should be on the same line for each one...
CFLAGS="-O2"; export CFLAGS
LDFLAGS="-L/usr/local/ssl/lib -L/usr/local/openldap/lib -L/usr/local/lib
-R/usr/local/ssl/lib:/usr/local/openldap/lib:/usr/local/lib"; export LDFLAGS
CPPFLAGS="-I/usr/local/ssl/include -I/usr/local/openldap/include
-I/usr/local/include"; export CPPFLAGS

"./configure" \
"--prefix=/usr/local/apache2" \
"--enable-mods-shared=most" \
"--with-ldap-include=/usr/local/openldap/include" \
"--with-ldap-lib=/usr/local/openldap/lib" \
"--with-ssl=/usr/local/ssl" \
"--with-perl=/usr/local/bin/perl" \
"--with-ldap" \
"--with-berkeley-db=/usr/local/BerkeleyDB" \
"--enable-ldap" \
"--enable-authnz-ldap" \
"--enable-ssl" \
"$@"

---END---





-- 

°(((=((===°°°(((===========================================


Re: [users@httpd] Compiling Apache 2.2.0 on Solaris 10 with mod_authnz_ldap support

Posted by Mika Borner <Mi...@clariden.com>.
 ./configure --prefix=path_to_apache/apache2 --enable-mods-shared=all
--enable-ssl=shared --enable-authnz-ldap --with-ssl=/usr/local/ssl
--with-ldap --enable-ldap

See also http://mysecondhead.blogspot.com/ 

If you need SSL, you should adjust the --with-ssl to the Solaris
OpenSSL at /usr/sfw  (--with-ssl=/usr/sfw).

Kind Regards
Mika


>>> Ming.Yu@jhuapl.edu 03/15/06 6:45 pm >>>
I have downloaded openldap and apache2.2.0.  I am looking for
instructions of how to compile the apache web server with
mod_authnz_ldap.

Thanks,

- Ming YU
- Johns Hopkins University Applied Physics Lab


---------------------------------------------------------------------
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 



-------------------------------------------------------------------------
This message is intended for the addressee only and may
contain confidential or privileged information. If you
are not the intended receiver, any disclosure, copying
to any person or any action taken or omitted to be taken
in reliance on this e-mail, is prohibited and may be un-
lawful. You must therefore delete this e-mail.
Internet communications may not be secure or error-free
and may contain viruses. They may be subject to possible
data corruption, accidental or on purpose. This e-mail is
not and should not be construed as an offer or the
solicitation of an offer to purchase or subscribe or sell
or redeem any investments.
-------------------------------------------------------------------------


---------------------------------------------------------------------
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