[Zope] mod_cgi patch for webdav doesn't work
Brian Lloyd
Brian@digicool.com
Thu, 9 Dec 1999 10:19:13 -0500
> hi,
> I was very pleased to hear about the webdav patch for apache.
> (http://www.zope.org/Members/Brian/Misc/mod_cgi_webdav_patch.h
> tml) thanks
> brian.
>
> , I recompiled apache, re-installed it, restarted it. But
> when I Try to call
> the HTTP OPTIONS, apache acts stupid :)
>
> <snip>
> bash-2.03$ telnet zopera 80
> Trying 195.207.92.22...
> Connected to zopera.is.Belgium.EU.net.
> Escape character is '^]'.
> OPTIONS /cust HTTP/1.1
>
> HTTP/1.1 400 Bad Request
> Date: Thu, 09 Dec 1999 10:37:56 GMT
> Server: Apache/1.3.9 (Unix)
> Connection: close
> Transfer-Encoding: chunked
> Content-Type: text/html
> ...
> Your browser sent a request that this server could not understand.<P>
> client sent HTTP/1.1 request without hostname (see RFC2068
> section 9, and
> 14.23): /cust<P>
> <HR>
> <ADDRESS>Apache/1.3.9 Server at zopera.is.belgium.eu.net Port
> 80</ADDRESS>
> </BODY></HTML>
I think Apache is mad because you made an HTTP 1.1 request
without sending an HTTP Host: header (required by spec).
Try:
OPTIONS /cust HTTP/1.1
Host: zopera.is.belgium.eu.net
<return>
<return>
Brian Lloyd brian@digicool.com
Software Engineer 540.371.6909
Digital Creations http://www.digicool.com