[mod_python] mod_python disables mod_dav

Gregory (Grisha) Trubetskoy grisha at modpython.org
Mon Dec 22 22:00:03 EST 2003


I believe Damjan reported that if you swap the lines (put first whichever
was second) the problem goes away,

HTH,

Grisha

On Mon, 22 Dec 2003, Alun wrote:

> I seem to have a problem adding mod_python to an existing configuration with
> mod_dav.
> I have mod_dav enabled and working and planned on integrating mod_python but
> when I *only* add the LoadModule mod_python directive to the httpd.conf,
> WebDAV no longer works and I get a 405 status returned.
>
> Any help would be appreciated.
>
> Checking OPTIONS on the URL before and after adding LoadModule gives:
>
> =====Before====
> OPTIONS /author/ http/1.1
> Host: localhost:80
>
> HTTP/1.1 200 OK
> Date: Mon, 22 Dec 2003 21:47:46 GMT
> Server: Apache/2.0.48 (Win32) mod_jk2/2.0.2 DAV/2
> DAV: 1,2
> MS-Author-Via: DAV
> Allow:
> OPTIONS,GET,HEAD,POST,DELETE,TRACE,PROPFIND,PROPPATCH,COPY,MOVE,LOCK,UNLOCK
> Content-Length: 0
> Content-Type: httpd/unix-directory
>
> =====After LoadModule mod_python modules/mod_python.so=====
> OPTIONS /author/ http:/1.1
> Host: localhost:80
>
> HTTP/1.1 200 OK
> Date: Mon, 22 Dec 2003 21:28:47 GMT
> Server: Apache/2.0.48 (Win32) mod_jk2/2.0.2 mod_python/3.1.2b Python/2.3.2
> DAV/2
>
> Allow: GET,HEAD,POST,OPTIONS,TRACE     <======== No DAV commands.
> Content-Length: 0
> Connection: close
> Content-Type: httpd/unix-directory
>
> _______________________________________________
> Mod_python mailing list
> Mod_python at modpython.org
> http://mailman.modpython.org/mailman/listinfo/mod_python
>


More information about the Mod_python mailing list