becky_lewis said:
How are you trying to access the webdav server?
By IE 8 and Firefox, on the same system as well as on another system.
Firefox doesn't show the 404 error but shows a blank screen.
I bound the davserver to the local adress of the system where it's on
(10.0.0.140).
The port was 8081 but I changed it to 8008 as you said it's the default. No
difference.
I've been hacking on
the server for several days now (unrelated reasons) and have found
that it's a little unforgiving when it comes to configuration errors.
You need to be accessing the webdav server via the correct port (I
think it's 8008 by default). If you're not doing this and something
else is running on port 80 (which is where a webdav client will go to
by default) then this would explain the 404 errors.
I certainly use the correct IP address and port number.
Underneath is my command shell.
The 1st time I specified the config file (davserver.ini), the 2nd time I
specified on the command line.
Here I logged in with Firefox from system XXX (replaced the name by XXX).
(Here I started the server with the the config file (davserver.ini)
D
ython27\Scripts>davserver -m -c davserver.ini
INFO
ywebdav:Starting up PyWebDAV server <version 0.9.4-dev>
INFO
ywebdav:chunked_http_response feature ON
INFO
ywebdav:http_request_use_iterator feature OFF
INFO
ywebdav:http_response_use_iterator feature OFF
INFO
AVServer.fshandler:Initialized with d:\webdav-http://10.0.0.140:8081/
WARNING
ywebdav:Authentication disabled!
INFO
ywebdav:Serving data from d:\webdav
Listening on 10.0.0.140 <8081>
(browser logging in)
INFO
AVServer.fshandler:get_data: d:\webdav not found
XXX --- [07/Sep/2011 11:57:48] - Mozilla/5.0 UJindows NT 5.1; rv:6.0.1>
Gecko/
20100101 Firefox/6.0.1 - "GET / HTTP/1.1" 404 -
XXX --- [07/Sep/2011 11:57:52] - Mozilla/5.0 <Uindows NT 5.1; rv:6.0.1>
Gecko/
20100101 Firefox/6.0.1 - "GET / HTTP/1.1" 404 -
^C
D:\Python27\Scripts>INFO
ywebdav:Killed by user
(Here I started the server with command line options)
davserver -D d:\webdav -H 10.0.0.140 -P 8081 -n
WARNING
ywebdav:Authentication disabled!
Listening on 10.0.0.140 <8081>
XXX --- [07/Sep/2011 11:58:49] - Mozilla/5.0 <Uindows NT 5.1; rv:6.0.1>
Gecko/
20100101 Firefox/6.0.1 - "GET / HTTP/1.1" 404 -
XXX --- [07/Sep/2011 11:58:54] - Mozilla/5.0 <Uindows NT 5.1; rv:6.0.1>
Gecko/
20100101 Firefox/6.0.1 - "GET / HTTP/1.1" 404 -
^C
D:\Python27\Scripts>INFO
ywebdav:Killed by user