Chris Glover chris@glovercc.clara.co.uk wrote:
I was thinking about writing a custom page that is returned for that address, containing some perl code to modify the firewall.
Any one got any ideas?
That sort of thing certainly used to be possible, by using something like
<Location ~ /some/regexp/to/trap> ErrorDocument 403 http://server/path/to/cgi allow from none deny from all </Location>
Not that I ever trapped things in that way. Oh no. Be careful writing your regexp, or it can be very costly. Testing from the box you're ssh'd in from is another no-no. ;-)