apache2.x : force timeout instead of 404
hey there,
simple thought - probably harder to implement - i guess...
i run a webserver which is setup with virtual hosts - using virtualDocumentRoot
say for example i have foo.example.com and fibble.example.com pointing to the address of my webserver,
apache will try
1. is there a virtualHost for this requested domain name
2. if not - can i find a matching directory in the virtualDocumentRoot
if step 2 should fail apache will of course respond with a 404 as in file not found
is there any way i could filter out 404's and force apache to ignore the request?
of even 'mark' the packets so i can get hold of them in iptables?
or force a client timeout some other way?
i am quite happy for this to be an iptables solution too...
|