Zope/Medusa: Response to CONNECT method

Terry Reedy tjreedy at udel.edu
Tue Dec 31 10:43:30 EST 2002


"Klaus Alexander Seistrup" <jakabov+20021231 at magnetic-ink.dk> wrote in
message news:44a1fb39-1ac9-4b3f-a646-804b4067af8b at news.szn.dk...
> Several times a day spammers try to exploit my Zope server by
sending
> CONNECT requests:
...
> Zope responds with a "404: Not Found".  Howeever, I would like Zope
to
> return a "405: Method Not Allowed" instead.  I have tried to change
a
> few lines in ZPublisher/BaseRequest.py, but to no avail.  Does
anyone
> here know where I should change what in order to obtain the desired
> response?
>
> I'm running Zope with its own ZServer/Medusa webserver.

If you do not get an answer here, try the Zope mailing list
(www.zope.org near bottom)
TJR





More information about the Python-list mailing list