Forum Moderators: phranque
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.