You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Paul Matthews <pa...@cathedral.qld.edu.au> on 2006/03/23 01:18:49 UTC

[users@httpd] Mod_Authz_Unixgroup

Hi everyone,

i've come accross an apache mod that i'm trying to get working, but i'm
getting some error messages when i try and follow the install.txt doc

the install file is at the bottom of the e-mail, i can the command it told
me to run and i got this output

[root@fedora mod_authz_unixgroup-1.0.0]# /usr/sbin/httpd -l
Compiled in modules:
  core.c
  prefork.c
  http_core.c
  mod_so.c

so i have the mod_so.c ...

but when i follow the next step i get this error message

[root@fedora mod_authz_unixgroup-1.0.0]# apxs -c mod_authz_unixgroup.c
/bin/sh /usr/lib/apr/build/libtool --silent --mode=compile
gcc -prefer-pic -O2 -g -pipe -m32 -march=i386 -mtune=pentium4 -DAP_HAVE_DESI
GNATED_INITIALIZER -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE -pthread -I/usr/incl
ude/apr-0 -I/usr/include/httpd  -c -o mod_authz_unixgroup.lo
mod_authz_unixgroup.c && touch mod_authz_unixgroup.slo
mod_authz_unixgroup.c:5:22: mod_auth.h: No such file or directory
mod_authz_unixgroup.c: In function `authz_unixgroup_check_user_access':
mod_authz_unixgroup.c:184: error: `AUTHZ_GROUP_NOTE' undeclared (first use
in this function)
mod_authz_unixgroup.c:184: error: (Each undeclared identifier is reported
only once
mod_authz_unixgroup.c:184: error: for each function it appears in.)
apxs:Error: Command failed with rc=65536

INSTALL.TXT file

Step 1:
        Ensure that your Apache server is configured to handle dynamically
        loaded modules.  To check this, run Apache server with the -l
command
        flag, like

               httpd -l

        If mod_so.c is one of the compiled-in modules, then you are ready
        to go.

Step 2:
        Compile the module using the following command in the
        mod_authz_unixgroup distribution directory:

                apxs -c mod_authz_unixgroup.c

        'Apxs' is the Apache extension tool.  It is part of the standard
        Apache installation.  If you don't have it, then your Apache server
        is probably not set up for handling dynamically loaded modules.
        This should create a file named 'mod_authz_unixgroup.so'.

Step 3:
        Install the module.  Apxs can do this for you too.  Do the following
        command (as root so you can write to Apache's directories and config
        files):

               apxs -i -a mod_authz_unixgroup.la

        This will create mod_authz_unixgroup.so and copy it into the proper
        place, and add appropriate AddModule and LoadModule commands to the
        configuration files.  (Actually, it may get the LoadModule command
        wrong.  See below.)

Step 4:
        Go to the CONFIGURATION instructions below.


Paul Matthews
I.T Trainee | The Cathedral School
Ph  (07) 47222 194 |  Fax (07) 47222 111
PO Box 944 Aitkenvale Q 4814
E:  paul.matthews@cathedral.qld.edu.au
W: www.cathedral.qld.edu.au

Anglican coeducation | Day and Boarding | Early Childhood to Year 12
Educating for life-long success

****************************************************************************
****************************************************************************
***********************************

IMPORTANT NOTICE REGARDING CONFIDENTIALITY

This electronic email message is intended only for the addressee and may
contain confidential information. If you are not the addressee, you are
notified that any transmission, distribution or photocopying of this email
is strictly prohibited. The confidentiality attached to this email is not
waived, lost or destroyed by reasons of a mistaken delivery to you.



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