Apache DENY question
Hi all, this is the last for the day...
I've been spening the morning adding IP addresses to my httpd.conf file in the following format:
deny from 192.168 217.25
Now this is fine, but what I would ideally like to do is have a file full of IP addresses and simply add the entries to that, than have the config file read them, I tried the following but no such luck:
deny from < /etc/hosts.deny
(had planned to use this file for this purpose)
You get the idea of what I am trying to do, unfortunately even if there is a way to do this, then I assume I would have to restart apache for the new configuration to take place, but I suppose this can be done with cron, daily or whatever.
I plan to take IP addresses from my log files, for multiple failed attempts at password protected directories and have them added to a file, then read into the httpd.conf file as described above.
All help is appreciated, perhaps it is not possible to do as I wish in this instance.