|
From: Tom C. <pro...@fa...> - 2007-08-15 20:07:30
|
I've tried various configs, and can't seem to get the
/httpbl_diagnostics/ page to not be a 404 on any of my virtual hosts.
Fedora core 5, Apache 2.2, compiled and LoadModule'd fine.
In a VirtualHost block in httpd.conf:
<IfModule mod_httpbl.c>
# Deny known comment spammers the ability to POST.<br />
HTTPBLRBLEnabled On
HTTPBLRBLReqHandler 2:0-255:50-255:4 deny
</IfModule>
In /etc/httpd/conf.d/httpbl.conf (there is a suitable Include in the
main httpd.conf):
LoadModule httpbl_module /usr/lib64/httpd/modules/mod_httpbl.so
<IfModule mod_httpbl.c>
HTTPBLRBLEnabled On
# HTTPBLLogDir /var/log/httpd/
HTTPBLAccessKey somethingrandom
</IfModule>
Oddly, if I uncomment HTTPBLLogDir, I get :
"Syntax error on line 5 of /etc/httpd/conf.d/httpbl.conf:
Could not find a directory with path "/var/log/httpd/". Please ensure
this directory exists and permissions allow the user running Apache to
view and write to this directory."
This error is obviously wrong, as all my other Apache log files are
going there:
# ls -lah /var/log/httpd/
total 25M
drwxr-xr-x 2 root root 4.0K Aug 15 20:15 .
drwxr-xr-x 12 root root 4.0K Aug 12 01:18 ..
-rw-r--r-- 1 nobody http 285K Aug 15 21:02 access_log
Any ideas ?
--
Tom C
Money does not equal success.
|