[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: CONNECT in apache logs



On Tue, 8 Feb 2005 17:06:31 +0100, Vincent Lefevre <vincent@vinc17.org> wrote:
> On 2005-02-07 22:30:33 +1030, David Purton wrote:
> > Can I configure anything so that these CONNECT requests give an
> > error rather than 200?
> 
> And is it possible to redirect them to another website?

Most requests like that are done by spam/spy drones, a redirect
elsewhere would be either ignored by the drone, not seen by a human or
cause more harm than good; so a 403 is usually the best thing to give
them.

You could possibly look at rewriting the request without redirecting
(mod_rewrite rules) if you're looking to log them in more detail, but
I'm not sure how well mod_rewrite would do with CONNECT requests.

-- 
Darryl
smartssa@gmail.com
http://smartssa.com / http://darrylclarke.com



Reply to: