Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Apache: Users

apache module problem

 

 

Apache users RSS feed   Index | Next | Previous | View Threaded


smmehadi at gmail

May 16, 2008, 4:36 AM

Post #1 of 3 (103 views)
Permalink
apache module problem

Hi Guys,
I installed latest version of apache (2.2.8) on FC8 (fedora core). i want to
authenticate a script before any user can execute it.
for this effect i made changes in httpd.conf (placed at
"/usr/local/apache2/conf/httpd.conf") and added lines as:
<Directory "/usr/local/apache2/cgi-bin/authenticate">
AllowOverride AuthConfig
</Directory>

in folder /usr/local/apache2/cgi-bin/authenticate, i created .htaccess and
added following lines in it:
AuthType Basic
AuthName 'LDAP Login (Please do not add prefix before username)'
AuthLDAPUrl ldap://machine-ip:389/ou=people,o=
xyz.com?uid?sub?(objectClass=*)
<Files "authenticate.py">
require valid-user
</Files>

now whenever i am trying to execute authenticate.py (placed at
/usr/local/apache2/cgi-bin/authenticate)
i am getting the error as:
[Fri May 16 16:32:28 2008] [alert] [client ip]
/usr/local/apache2/cgi-bin/authenticate/.htaccess: Invalid command
'AuthLDAPUrl', perhaps misspelled or defined by a module not included in the
server configuration

Please help

Thanks & regards
Syed


covener at gmail

May 16, 2008, 5:03 AM

Post #2 of 3 (94 views)
Permalink
Re: apache module problem [In reply to]

On Fri, May 16, 2008 at 7:36 AM, syed mehdi <smmehadi[at]gmail.com> wrote:
> Hi Guys,
> I installed latest version of apache (2.2.8) on FC8 (fedora core

> [Fri May 16 16:32:28 2008] [alert] [client ip]
> /usr/local/apache2/cgi-bin/authenticate/.htaccess: Invalid command
> 'AuthLDAPUrl', perhaps misspelled or defined by a module not included in the
> server configuration

Load mod_authnz_ldap.

--
Eric Covener
covener[at]gmail.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[at]httpd.apache.org
" from the digest: users-digest-unsubscribe[at]httpd.apache.org
For additional commands, e-mail: users-help[at]httpd.apache.org


smmehadi at gmail

May 16, 2008, 5:21 AM

Post #3 of 3 (94 views)
Permalink
Re: apache module problem [In reply to]

Thanks Eric, from where i can get this module, and where should i place it
in my directory structure (/usr/local/apache2/modules contains only one file
as httpd.exp).

On Fri, May 16, 2008 at 5:33 PM, Eric Covener <covener[at]gmail.com> wrote:

> On Fri, May 16, 2008 at 7:36 AM, syed mehdi <smmehadi[at]gmail.com> wrote:
> > Hi Guys,
> > I installed latest version of apache (2.2.8) on FC8 (fedora core
>
> > [Fri May 16 16:32:28 2008] [alert] [client ip]
> > /usr/local/apache2/cgi-bin/authenticate/.htaccess: Invalid command
> > 'AuthLDAPUrl', perhaps misspelled or defined by a module not included in
> the
> > server configuration
>
> Load mod_authnz_ldap.
>
> --
> Eric Covener
> covener[at]gmail.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[at]httpd.apache.org
> " from the digest: users-digest-unsubscribe[at]httpd.apache.org
> For additional commands, e-mail: users-help[at]httpd.apache.org
>
>

Apache users RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact lists@gossamer-threads.com
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.