Please help me make cgi-bin work. This is the standard Apache 2.4.3 from
SW-14.0.
'locate mod_cgi' returns:
/usr/lib/httpd/modules/mod_cgid.so
/usr/lib/httpd/modules/mod_cgi.so
grep 'modules/mod_cgi' /etc/httpd/httpd.conf returns:
#LoadModule cgid_module lib/httpd/modules/mod_cgid.so
LoadModule cgi_module lib/httpd/modules/mod_cgi.so
Here's (what is believed to be) the applicable portion of httpd.conf:
# directives as to Alias.
ScriptAlias /cgi-bin/ "/var/www/cgi-bin/"
</IfModule>
<IfModule cgid_module>
#
# ScriptSock: On threaded servers, designate the path to the UNIX
# socket used to communicate with the CGI daemon of mod_cgid.
#
#Scriptsock cgisock
</IfModule>
# "/srv/httpd/cgi-bin" should be changed to whatever your ScriptAliased
# CGI directory exists, if you have that configured.
<Directory "/var/www/cgi-bin">
Options ExecCGI
Allow from all
</Directory>
The problem:
http://192.168.223.127/cgi-bin/cachemgr.cgi
run from the computer with ip 192.168.223.127 returns into error_log:
[Sun Apr 07 17:13:58.999403 2013] [authz_core:error] [pid 12752:tid
2999974720] [client
192.168.223.127:47975] AH01630: client denied by
server configuration: /var/www/cgi-bin/cachemgr.cgi
So what have I missed?
--
buck