Forum Moderators: phranque

Message Too Old, No Replies

Installing apache modules

Why is mod_access not in a standard apache installation?

         

czamora

9:46 pm on May 30, 2006 (gmt 0)

10+ Year Member



Hi,

I have just installed apache (web server) from source but when I try to start it, it complains about the following line in my httpd.conf file:

LoadModule access_module modules/mod_access.so

I need to control acces to directories through the Allow and Deny directives, so I need the access module, right?

The error message is exactly:

httpd: Syntax error on line 185 of /var/httpd/conf/httpd.conf: Cannot load /var/httpd/modules/mod_access.so into server: /var/httpd/modules/mod_access.so: cannot open shared object file: No such file or directory

There is indeed no files in /var/httpd/modules

I've tried to recompile apache adding the following to ./configure:
--enable-modules=mod_access
It accepts it, but once built and installed I get again the same error when trying to start the server.

Can anyone please let me know how to install the mod_access (or any other) module into the apache web server?

Thanks a lot for any help.

jdMorgan

10:45 pm on May 30, 2006 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



If you are installing from source, you'll need to download and compile every module you want to use, unless you get a bundeld package.

Jim

czamora

12:30 pm on May 31, 2006 (gmt 0)

10+ Year Member



Could you please let me know where I can get all the Apache modules?
Thanks a lot.

zCat

12:54 pm on May 31, 2006 (gmt 0)

10+ Year Member



mod_access is certainly part of the base Apache distribution. The problem is the configuration file is probably pointing to the wrong location. Where is your compiled Apache installed? The "missing" modules should be there.