From 3a7f9e3cf387f11ccbb1c01119c3d3b4e813e694 Mon Sep 17 00:00:00 2001 From: Valery Komarov Date: Mon, 24 Sep 2012 23:31:57 +0400 Subject: [PATCH] add README.md --- README.md | 41 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 README.md diff --git a/README.md b/README.md new file mode 100644 index 0000000..98673c6 --- /dev/null +++ b/README.md @@ -0,0 +1,41 @@ +How to install +============== + +FreeBSD +-------------- + +```bash +cd ~ && git clone https://code.google.com/p/nginx-auth-ldap/ +cp -R /usr/ports/www/nginx ~/nginx-ldap +``` + +edit ~/nginx-ldap/Makefile add CONFIGURE_ARGS --add-module=path_to_http_auth_ldap_module + +```bash +HAS_CONFIGURE= yes +CONFIGURE_ARGS+=--prefix=${ETCDIR} \ +.... +--user=${WWWOWN} --group=${WWWGRP} \ +--add-module=path_to_http_auth_ldap_module +``` + +install modified port + +```bash +cd ~/nginx-ldap +make install clean +``` + +Linux +-------------- + +```bash +cd ~ && git clone https://code.google.com/p/nginx-auth-ldap/ +``` + +in nginx source folder + +```bash +./configure --add-module=path_to_http_auth_ldap_module +make install +```