HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   Server Operation (http://www.howtoforge.com/forums/forumdisplay.php?f=5)
-   -   WebDAV doesn't start - DAVLockDB not created - error 405 Method not allowed (http://www.howtoforge.com/forums/showthread.php?t=51982)

maljam 22nd March 2011 14:44

WebDAV doesn't start - DAVLockDB not created - error 405 Method not allowed
 
It's not the first time that i'm dealing with WebDAV on Apache, but i'm a little bit lost...

I'm working on a 11.3 openSuse standard Apache with DAV modules activated.
Other Virtual Servers without DAV are working fine.
When connecting with windows client, it asks me a user and pwd but never connects.
When testing with litmus, I receive a "405 Method not allowed Server must allow MKCOL" error at the second step for my folder.

I've seen a lot of questions about that behaviour but no answer. Any idea ?

falko 23rd March 2011 16:45

Are there any errors in Apache's error log?

maljam 23rd March 2011 17:06

Version string: neon 0.26.3: Bundled build, IPv6, Expat 2.0.1, OpenSSL 0.9.8g 19 Oct 2007.
ssl: Initialized OpenSSL thread-safety callbacks for 39 locks.
******* Running test 0: init ********
******* Running test 1: begin ********
HTTP session to http://majweb.cra.wallonie.be:80 begins.
HTTP session to http://majweb.cra.wallonie.be:80 begins.
ah_create, for WWW-Authenticate
Doing DNS lookup on majweb.cra.wallonie.be...
Running pre_send hooks
Sending request headers:
DELETE /crawsites/litmus/ HTTP/1.1
Host: majweb.cra.wallonie.be
User-Agent: litmus/0.11 neon/0.26.3
Keep-Alive:
Connection: TE, Keep-Alive
TE: trailers
X-Litmus: basic: 1 (begin)

Sending request-line and headers:
Connecting to 193.190.115.90
Request sent; retry is 0.
[status-line] < HTTP/1.1 405 Method Not Allowed
[hdr] Date: Wed, 23 Mar 2011 14:59:39 GMT
Header Name: [date], Value: [Wed, 23 Mar 2011 14:59:39 GMT]
[hdr] Server: Apache/2.2.15 (Linux/SUSE)
Header Name: [server], Value: [Apache/2.2.15 (Linux/SUSE)]
[hdr] Vary: accept-language,accept-charset
Header Name: [vary], Value: [accept-language,accept-charset]
[hdr] Accept-Ranges: bytes
Header Name: [accept-ranges], Value: [bytes]
[hdr] Keep-Alive: timeout=15, max=100
Header Name: [keep-alive], Value: [timeout=15, max=100]
[hdr] Connection: Keep-Alive
Header Name: [connection], Value: [Keep-Alive]
[hdr] Transfer-Encoding: chunked
Header Name: [transfer-encoding], Value: [chunked]
[hdr] Content-Type: text/html; charset=iso-8859-1
Header Name: [content-type], Value: [text/html; charset=iso-8859-1]
[hdr] Content-Language: en
Header Name: [content-language], Value: [en]
[hdr]
End of headers.
[chunk] < 1e
Got chunk size: 30
Reading 30 bytes of response body.
Got 30 bytes.
Read block (30 bytes):
[<?xml version="1.0" encoding="]
[chunk] < af
Got chunk size: 175
Reading 175 bytes of response body.
Got 175 bytes.
Read block (175 bytes):
[ISO-8859-1"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="]
[chunk] < e
Got chunk size: 14
Reading 14 bytes of response body.
Got 14 bytes.
Read block (14 bytes):
[en" xml:lang="]
[chunk] < 13
Got chunk size: 19
Reading 19 bytes of response body.
Got 19 bytes.
Read block (19 bytes):
[en">
<head>
<title>]
[chunk] < 3a
Got chunk size: 58
Reading 58 bytes of response body.
Got 58 bytes.
Read block (58 bytes):
[Method not allowed!</title>
<link rev="made" href="mailto:]
[chunk] < 112
Got chunk size: 274
Reading 274 bytes of response body.
Got 274 bytes.
Read block (274 bytes):
[webmaster@cra.wallonie.be" />
<style type="text/css"><!--/*--><![CDATA[/*><!--*/
body { color: #000000; background-color: #FFFFFF; }
a:link { color: #0000CC; }
p, address {margin-left: 3em;}
span {font-size: smaller;}
/*]]>*/--></style>
</head>

<body>
<h1>]
[chunk] < 1d
Got chunk size: 29
Reading 29 bytes of response body.
Got 29 bytes.
Read block (29 bytes):
[Method not allowed!</h1>
<p>
]
[chunk] < a
Got chunk size: 10
Reading 10 bytes of response body.
Got 10 bytes.
Read block (10 bytes):
[

The ]
[chunk] < 3d
Got chunk size: 61
Reading 61 bytes of response body.
Got 61 bytes.
Read block (61 bytes):
[DELETE
method is not allowed for the requested URL.

]
[chunk] < 9
Got chunk size: 9
Reading 9 bytes of response body.
Got 9 bytes.
Read block (9 bytes):
[</p>
<p>
]
[chunk] < 48
Got chunk size: 72
Reading 72 bytes of response body.
Got 72 bytes.
Read block (72 bytes):
[If you think this is a server error, please contact
the <a href="mailto:]
[chunk] < 2a
Got chunk size: 42
Reading 42 bytes of response body.
Got 42 bytes.
Read block (42 bytes):
[webmaster@cra.wallonie.be">webmaster</a>.
]
[chunk] < 11
Got chunk size: 17
Reading 17 bytes of response body.
Got 17 bytes.
Read block (17 bytes):
[
</p>

<h2>Error ]
[chunk] < 21
Got chunk size: 33
Reading 33 bytes of response body.
Got 33 bytes.
Read block (33 bytes):
[405</h2>
<address>
<a href="/">]
[chunk] < 23
Got chunk size: 35
Reading 35 bytes of response body.
Got 35 bytes.
Read block (35 bytes):
[majweb.cra.wallonie.be</a><br />
]
[chunk] < 9
Got chunk size: 9
Reading 9 bytes of response body.
Got 9 bytes.
Read block (9 bytes):
[
<span>]
[chunk] < 21
Got chunk size: 33
Reading 33 bytes of response body.
Got 33 bytes.
Read block (33 bytes):
[Wed Mar 23 15:59:39 2011<br />
]
[chunk] < 3d
Got chunk size: 61
Reading 61 bytes of response body.
Got 61 bytes.
Read block (61 bytes):
[Apache/2.2.15 (Linux/SUSE)</span>
</address>
</body>
</html>
]
[chunk] < 1
Got chunk size: 1
Reading 1 bytes of response body.
Got 1 bytes.
Read block (1 bytes):
[
]
[chunk] < 0
Got chunk size: 0
[hdr]
End of headers.
Running post_send hooks
ah_post_send (#0), code is 405 (want 401), WWW-Authenticate is (none)
Request ends, status 405 class 4xx, error line:
405 Method Not Allowed
Running destroy hooks.
Request ends.
ah_create, for WWW-Authenticate
Running pre_send hooks
Sending request headers:
MKCOL /crawsites/litmus/ HTTP/1.1
Host: majweb.cra.wallonie.be
User-Agent: litmus/0.11 neon/0.26.3
Connection: TE
TE: trailers
X-Litmus: basic: 1 (begin)

Sending request-line and headers:
Request sent; retry is 1.
[status-line] < HTTP/1.1 405 Method Not Allowed
[hdr] Date: Wed, 23 Mar 2011 14:59:39 GMT
Header Name: [date], Value: [Wed, 23 Mar 2011 14:59:39 GMT]
[hdr] Server: Apache/2.2.15 (Linux/SUSE)
Header Name: [server], Value: [Apache/2.2.15 (Linux/SUSE)]
[hdr] Vary: accept-language,accept-charset
Header Name: [vary], Value: [accept-language,accept-charset]
[hdr] Accept-Ranges: bytes
Header Name: [accept-ranges], Value: [bytes]
[hdr] Transfer-Encoding: chunked
Header Name: [transfer-encoding], Value: [chunked]
[hdr] Content-Type: text/html; charset=iso-8859-1
Header Name: [content-type], Value: [text/html; charset=iso-8859-1]
[hdr] Content-Language: en
Header Name: [content-language], Value: [en]
[hdr]
End of headers.
[chunk] < 1e
Got chunk size: 30
Reading 30 bytes of response body.
Got 30 bytes.
Read block (30 bytes):
[<?xml version="1.0" encoding="]
[chunk] < af
Got chunk size: 175
Reading 175 bytes of response body.
Got 175 bytes.
Read block (175 bytes):
[ISO-8859-1"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="]
[chunk] < e
Got chunk size: 14
Reading 14 bytes of response body.
Got 14 bytes.
Read block (14 bytes):
[en" xml:lang="]
[chunk] < 13
Got chunk size: 19
Reading 19 bytes of response body.
Got 19 bytes.
Read block (19 bytes):
[en">
<head>
<title>]
[chunk] < 3a
Got chunk size: 58
Reading 58 bytes of response body.
Got 58 bytes.
Read block (58 bytes):
[Method not allowed!</title>
<link rev="made" href="mailto:]
[chunk] < 112
Got chunk size: 274
Reading 274 bytes of response body.
Got 274 bytes.
Read block (274 bytes):
[webmaster@cra.wallonie.be" />
<style type="text/css"><!--/*--><![CDATA[/*><!--*/
body { color: #000000; background-color: #FFFFFF; }
a:link { color: #0000CC; }
p, address {margin-left: 3em;}
span {font-size: smaller;}
/*]]>*/--></style>
</head>

<body>
<h1>]
[chunk] < 1d
Got chunk size: 29
Reading 29 bytes of response body.
Got 29 bytes.
Read block (29 bytes):
[Method not allowed!</h1>
<p>
]
[chunk] < a
Got chunk size: 10
Reading 10 bytes of response body.
Got 10 bytes.
Read block (10 bytes):
[

The ]
[chunk] < 3c
Got chunk size: 60
Reading 60 bytes of response body.
Got 60 bytes.
Read block (60 bytes):
[MKCOL
method is not allowed for the requested URL.

]
[chunk] < 9
Got chunk size: 9
Reading 9 bytes of response body.
Got 9 bytes.
Read block (9 bytes):
[</p>
<p>
]
[chunk] < 48
Got chunk size: 72
Reading 72 bytes of response body.
Got 72 bytes.
Read block (72 bytes):
[If you think this is a server error, please contact
the <a href="mailto:]
[chunk] < 2a
Got chunk size: 42
Reading 42 bytes of response body.
Got 42 bytes.
Read block (42 bytes):
[webmaster@cra.wallonie.be">webmaster</a>.
]
[chunk] < 11
Got chunk size: 17
Reading 17 bytes of response body.
Got 17 bytes.
Read block (17 bytes):
[
</p>

<h2>Error ]
[chunk] < 21
Got chunk size: 33
Reading 33 bytes of response body.
Got 33 bytes.
Read block (33 bytes):
[405</h2>
<address>
<a href="/">]
[chunk] < 23
Got chunk size: 35
Reading 35 bytes of response body.
Got 35 bytes.
Read block (35 bytes):
[majweb.cra.wallonie.be</a><br />
]
[chunk] < 9
Got chunk size: 9
Reading 9 bytes of response body.
Got 9 bytes.
Read block (9 bytes):
[
<span>]
[chunk] < 21
Got chunk size: 33
Reading 33 bytes of response body.
Got 33 bytes.
Read block (33 bytes):
[Wed Mar 23 15:59:39 2011<br />
]
[chunk] < 3d
Got chunk size: 61
Reading 61 bytes of response body.
Got 61 bytes.
Read block (61 bytes):
[Apache/2.2.15 (Linux/SUSE)</span>
</address>
</body>
</html>
]
[chunk] < 1
Got chunk size: 1
Reading 1 bytes of response body.
Got 1 bytes.
Read block (1 bytes):
[
]
[chunk] < 0
Got chunk size: 0
[hdr]
End of headers.
Running post_send hooks
ah_post_send (#0), code is 405 (want 401), WWW-Authenticate is (none)
Request ends, status 405 class 4xx, error line:
405 Method Not Allowed
Running destroy hooks.
Request ends.
Version string: neon 0.26.3: Bundled build, IPv6, Expat 2.0.1, OpenSSL 0.9.8g 19 Oct 2007.
ssl: Initialized OpenSSL thread-safety callbacks for 39 locks.
******* Running test 0: init ********
******* Running test 1: begin ********
HTTP session to http://majweb.cra.wallonie.be:80 begins.
HTTP session to http://majweb.cra.wallonie.be:80 begins.
ah_create, for WWW-Authenticate
Doing DNS lookup on majweb.cra.wallonie.be...
Running pre_send hooks
Sending request headers:
DELETE /webdav/litmus/ HTTP/1.1
Host: majweb.cra.wallonie.be
User-Agent: litmus/0.11 neon/0.26.3
Keep-Alive:
Connection: TE, Keep-Alive
TE: trailers
X-Litmus: basic: 1 (begin)

Sending request-line and headers:
Connecting to 193.190.115.90
Request sent; retry is 0.
[status-line] < HTTP/1.1 405 Method Not Allowed
[hdr] Date: Wed, 23 Mar 2011 14:59:47 GMT
Header Name: [date], Value: [Wed, 23 Mar 2011 14:59:47 GMT]
[hdr] Server: Apache/2.2.15 (Linux/SUSE)
Header Name: [server], Value: [Apache/2.2.15 (Linux/SUSE)]
[hdr] Vary: accept-language,accept-charset
Header Name: [vary], Value: [accept-language,accept-charset]
[hdr] Accept-Ranges: bytes
Header Name: [accept-ranges], Value: [bytes]
[hdr] Keep-Alive: timeout=15, max=100
Header Name: [keep-alive], Value: [timeout=15, max=100]
[hdr] Connection: Keep-Alive
Header Name: [connection], Value: [Keep-Alive]
[hdr] Transfer-Encoding: chunked
Header Name: [transfer-encoding], Value: [chunked]
[hdr] Content-Type: text/html; charset=iso-8859-1
Header Name: [content-type], Value: [text/html; charset=iso-8859-1]
[hdr] Content-Language: en
Header Name: [content-language], Value: [en]
[hdr]
End of headers.
[chunk] < 1e
Got chunk size: 30
Reading 30 bytes of response body.
Got 30 bytes.
Read block (30 bytes):
[<?xml version="1.0" encoding="]
[chunk] < af
Got chunk size: 175
Reading 175 bytes of response body.
Got 175 bytes.
Read block (175 bytes):
[ISO-8859-1"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="]
[chunk] < e
Got chunk size: 14
Reading 14 bytes of response body.
Got 14 bytes.
Read block (14 bytes):
[en" xml:lang="]
[chunk] < 13
Got chunk size: 19
Reading 19 bytes of response body.
Got 19 bytes.
Read block (19 bytes):
[en">
<head>
<title>]
[chunk] < 3a
Got chunk size: 58
Reading 58 bytes of response body.
Got 58 bytes.
Read block (58 bytes):
[Method not allowed!</title>
<link rev="made" href="mailto:]
[chunk] < 112
Got chunk size: 274
Reading 274 bytes of response body.
Got 274 bytes.
Read block (274 bytes):
[webmaster@cra.wallonie.be" />
<style type="text/css"><!--/*--><![CDATA[/*><!--*/
body { color: #000000; background-color: #FFFFFF; }
a:link { color: #0000CC; }
p, address {margin-left: 3em;}
span {font-size: smaller;}
/*]]>*/--></style>
</head>

<body>
<h1>]
[chunk] < 1d
Got chunk size: 29
Reading 29 bytes of response body.
Got 29 bytes.
Read block (29 bytes):
[Method not allowed!</h1>
<p>
]
[chunk] < a
Got chunk size: 10
Reading 10 bytes of response body.
Got 10 bytes.
Read block (10 bytes):
[

The ]
[chunk] < 3d
Got chunk size: 61
Reading 61 bytes of response body.
Got 61 bytes.
Read block (61 bytes):
[DELETE
method is not allowed for the requested URL.

]
[chunk] < 9
Got chunk size: 9
Reading 9 bytes of response body.
Got 9 bytes.
Read block (9 bytes):
[</p>
<p>
]
[chunk] < 48
Got chunk size: 72
Reading 72 bytes of response body.
Got 72 bytes.
Read block (72 bytes):
[If you think this is a server error, please contact
the <a href="mailto:]
[chunk] < 2a
Got chunk size: 42
Reading 42 bytes of response body.
Got 42 bytes.
Read block (42 bytes):
[webmaster@cra.wallonie.be">webmaster</a>.
]
[chunk] < 11
Got chunk size: 17
Reading 17 bytes of response body.
Got 17 bytes.
Read block (17 bytes):
[
</p>

<h2>Error ]
[chunk] < 21
Got chunk size: 33
Reading 33 bytes of response body.
Got 33 bytes.
Read block (33 bytes):
[405</h2>
<address>
<a href="/">]
[chunk] < 23
Got chunk size: 35
Reading 35 bytes of response body.
Got 35 bytes.
Read block (35 bytes):
[majweb.cra.wallonie.be</a><br />
]
[chunk] < 9
Got chunk size: 9
Reading 9 bytes of response body.
Got 9 bytes.
Read block (9 bytes):
[
<span>]
[chunk] < 21
Got chunk size: 33
Reading 33 bytes of response body.
Got 33 bytes.
Read block (33 bytes):
[Wed Mar 23 15:59:47 2011<br />
]
[chunk] < 3d
Got chunk size: 61
Reading 61 bytes of response body.
Got 61 bytes.
Read block (61 bytes):
[Apache/2.2.15 (Linux/SUSE)</span>
</address>
</body>
</html>
]
[chunk] < 1
Got chunk size: 1
Reading 1 bytes of response body.
Got 1 bytes.
Read block (1 bytes):
[
]
[chunk] < 0
Got chunk size: 0
[hdr]
End of headers.
Running post_send hooks
ah_post_send (#0), code is 405 (want 401), WWW-Authenticate is (none)
Request ends, status 405 class 4xx, error line:
405 Method Not Allowed
Running destroy hooks.
Request ends.
ah_create, for WWW-Authenticate
Running pre_send hooks
Sending request headers:
MKCOL /webdav/litmus/ HTTP/1.1
Host: majweb.cra.wallonie.be
User-Agent: litmus/0.11 neon/0.26.3
Connection: TE
TE: trailers
X-Litmus: basic: 1 (begin)

Sending request-line and headers:
Request sent; retry is 1.
[status-line] < HTTP/1.1 405 Method Not Allowed
[hdr] Date: Wed, 23 Mar 2011 14:59:47 GMT
Header Name: [date], Value: [Wed, 23 Mar 2011 14:59:47 GMT]
[hdr] Server: Apache/2.2.15 (Linux/SUSE)
Header Name: [server], Value: [Apache/2.2.15 (Linux/SUSE)]
[hdr] Vary: accept-language,accept-charset
Header Name: [vary], Value: [accept-language,accept-charset]
[hdr] Accept-Ranges: bytes
Header Name: [accept-ranges], Value: [bytes]
[hdr] Transfer-Encoding: chunked
Header Name: [transfer-encoding], Value: [chunked]
[hdr] Content-Type: text/html; charset=iso-8859-1
Header Name: [content-type], Value: [text/html; charset=iso-8859-1]
[hdr] Content-Language: en
Header Name: [content-language], Value: [en]
[hdr]
End of headers.
[chunk] < 1e
Got chunk size: 30
Reading 30 bytes of response body.
Got 30 bytes.
Read block (30 bytes):
[<?xml version="1.0" encoding="]
[chunk] < af
Got chunk size: 175
Reading 175 bytes of response body.
Got 175 bytes.
Read block (175 bytes):
[ISO-8859-1"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="]
[chunk] < e
Got chunk size: 14
Reading 14 bytes of response body.
Got 14 bytes.
Read block (14 bytes):
[en" xml:lang="]
[chunk] < 13
Got chunk size: 19
Reading 19 bytes of response body.
Got 19 bytes.
Read block (19 bytes):
[en">
<head>
<title>]
[chunk] < 3a
Got chunk size: 58
Reading 58 bytes of response body.
Got 58 bytes.
Read block (58 bytes):
[Method not allowed!</title>
<link rev="made" href="mailto:]
[chunk] < 112
Got chunk size: 274
Reading 274 bytes of response body.
Got 274 bytes.
Read block (274 bytes):
[webmaster@cra.wallonie.be" />
<style type="text/css"><!--/*--><![CDATA[/*><!--*/
body { color: #000000; background-color: #FFFFFF; }
a:link { color: #0000CC; }
p, address {margin-left: 3em;}
span {font-size: smaller;}
/*]]>*/--></style>
</head>

<body>
<h1>]
[chunk] < 1d
Got chunk size: 29
Reading 29 bytes of response body.
Got 29 bytes.
Read block (29 bytes):
[Method not allowed!</h1>
<p>
]
[chunk] < a
Got chunk size: 10
Reading 10 bytes of response body.
Got 10 bytes.
Read block (10 bytes):
[

The ]
[chunk] < 3c
Got chunk size: 60
Reading 60 bytes of response body.
Got 60 bytes.
Read block (60 bytes):
[MKCOL
method is not allowed for the requested URL.

]
[chunk] < 9
Got chunk size: 9
Reading 9 bytes of response body.
Got 9 bytes.
Read block (9 bytes):
[</p>
<p>
]
[chunk] < 48
Got chunk size: 72
Reading 72 bytes of response body.
Got 72 bytes.
Read block (72 bytes):
[If you think this is a server error, please contact
the <a href="mailto:]
[chunk] < 2a
Got chunk size: 42
Reading 42 bytes of response body.
Got 42 bytes.
Read block (42 bytes):
[webmaster@cra.wallonie.be">webmaster</a>.
]
[chunk] < 11
Got chunk size: 17
Reading 17 bytes of response body.
Got 17 bytes.
Read block (17 bytes):
[
</p>

<h2>Error ]
[chunk] < 21
Got chunk size: 33
Reading 33 bytes of response body.
Got 33 bytes.
Read block (33 bytes):
[405</h2>
<address>
<a href="/">]
[chunk] < 23
Got chunk size: 35
Reading 35 bytes of response body.
Got 35 bytes.
Read block (35 bytes):
[majweb.cra.wallonie.be</a><br />
]
[chunk] < 9
Got chunk size: 9
Reading 9 bytes of response body.
Got 9 bytes.
Read block (9 bytes):
[
<span>]
[chunk] < 21
Got chunk size: 33
Reading 33 bytes of response body.
Got 33 bytes.
Read block (33 bytes):
[Wed Mar 23 15:59:47 2011<br />
]
[chunk] < 3d
Got chunk size: 61
Reading 61 bytes of response body.
Got 61 bytes.
Read block (61 bytes):
[Apache/2.2.15 (Linux/SUSE)</span>
</address>
</body>
</html>
]
[chunk] < 1
Got chunk size: 1
Reading 1 bytes of response body.
Got 1 bytes.
Read block (1 bytes):
[
]
[chunk] < 0
Got chunk size: 0
[hdr]
End of headers.
Running post_send hooks
ah_post_send (#0), code is 405 (want 401), WWW-Authenticate is (none)
Request ends, status 405 class 4xx, error line:
405 Method Not Allowed
Running destroy hooks.
Request ends.


All times are GMT +2. The time now is 10:41.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.