Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #12900

Re: Installing WebDAV server

From "Fokke Nauta" <fnautaNO@SPAMsolfon.nl>
Newsgroups comp.lang.python
Subject Re: Installing WebDAV server
Date 2011-09-07 15:52 +0200
Message-ID <9cpbddFtidU1@mid.individual.net> (permalink)
References <mailman.687.1314941410.27778.python-list@python.org><9cbvupFjr3U3@mid.individual.net><86b084e0-09a8-4997-9e0c-4526d7851e1d@s2g2000vby.googlegroups.com><9ccoqkF5efU1@mid.individual.net><a7cd34d7-ed2b-4449-8edc-a6a45b59ecde@hb5g2000vbb.googlegroups.com><9ck5upFlpnU1@mid.individual.net><f5b9ec16-de9a-4365-81a8-860dc27a985e@d25g2000yqh.googlegroups.com><9cmq1vFk6fU1@mid.individual.net><mailman.809.1315328739.27778.python-list@python.org><9cnaekF5nfU1@mid.individual.net> <mailman.823.1315377607.27778.python-list@python.org> <9cor4gFk15U1@mid.individual.net> <d26f81b2-f87e-46f1-bb4e-8ef1943dfe7f@c29g2000yqd.googlegroups.com>

Show all headers | View raw


"becky_lewis" <bex.lewis@gmail.com> wrote in message 
news:d26f81b2-f87e-46f1-bb4e-8ef1943dfe7f@c29g2000yqd.googlegroups.com...
>> I have re-installed Python and the setuptool, and tried the Python 
>> version
>> of Active, but it did not make a difference.
>> So now I use the "old" Python 2.7 again. Used easy_install to install
>> PyWebDAV. I now run davserver.exe from the Script directory. Still the 
>> same
>> problem.
>> What I found, however, was that if I specify the directory from the 
>> command
>> line (like davserver -D d:\Webdav -n) there is no error message as
>> "INFO:fshandler :get_data: D:\Webdav not found". The browser shows still 
>> the
>> 404 error.
>> The error "INFO:fshandler :get_data: D:\Webdav not found" only occurs 
>> when I
>> specify the "-c config.ini" in the command line.
>>
>> I didn't expect it to be this so tricky. It looked easy to set up an
>> experimental webdav server.
>>
>> Fokke
>
> 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:Python27\Scripts>davserver -m -c davserver.ini
INFO:pywebdav:Starting up PyWebDAV server <version 0.9.4-dev>
INFO:pywebdav:chunked_http_response feature ON
INFO:pywebdav:http_request_use_iterator feature OFF
INFO:pywebdav:http_response_use_iterator feature OFF
INFO:DAVServer.fshandler:Initialized with d:\webdav-http://10.0.0.140:8081/
WARNING:pywebdav:Authentication disabled!
INFO:pywebdav:Serving data from d:\webdav
Listening on 10.0.0.140 <8081>

(browser logging in)

INFO:DAVServer.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:pywebdav: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:pywebdav: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:pywebdav:Killed by user 

Back to comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Installing WebDAV server "Fokke Nauta" <fnautaNO@SPAMsolfon.nl> - 2011-08-30 22:00 +0200
  Re: Installing WebDAV server Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2011-08-30 22:31 +0200
    Re: Installing WebDAV server "Fokke Nauta" <fnautaNO@SPAMsolfon.nl> - 2011-08-30 23:16 +0200
      Re: Installing WebDAV server Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2011-08-31 02:00 +0200
        Re: Installing WebDAV server "Fokke Nauta" <fnautaNO@SPAMsolfon.nl> - 2011-08-31 11:27 +0200
          Re: Installing WebDAV server Laszlo Nagy <gandalf@shopzeus.com> - 2011-08-31 13:48 +0200
            Re: Installing WebDAV server "Fokke Nauta" <fnautaNO@SPAMsolfon.nl> - 2011-08-31 14:35 +0200
              Re: Installing WebDAV server Laszlo Nagy <gandalf@shopzeus.com> - 2011-08-31 15:36 +0200
                Re: Installing WebDAV server "Fokke Nauta" <fnautaNO@SPAMsolfon.nl> - 2011-08-31 16:37 +0200
          Re: Installing WebDAV server Dennis Lee Bieber <wlfraed@ix.netcom.com> - 2011-08-31 10:42 -0700
            Re: Installing WebDAV server "Fokke Nauta" <fnautaNO@SPAMsolfon.nl> - 2011-09-02 14:04 +0200
          Re: Installing WebDAV server Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2011-09-04 00:58 +0200
            Re: Installing WebDAV server "Fokke Nauta" <fnautaNO@SPAMsolfon.nl> - 2011-09-04 10:59 +0200
              Re: Installing WebDAV server Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2011-09-04 20:35 +0200
  Re: Installing WebDAV server Paul Kölle <paul@subsignal.org> - 2011-08-31 10:52 +0200
    Re: Installing WebDAV server "Fokke Nauta" <fnautaNO@SPAMsolfon.nl> - 2011-08-31 14:18 +0200
      Re: Installing WebDAV server Paul Kölle <paul@subsignal.org> - 2011-08-31 19:14 +0200
        Re: Installing WebDAV server "Fokke Nauta" <fnautaNO@SPAMsolfon.nl> - 2011-09-01 12:30 +0200
      Re: Installing WebDAV server Dennis Lee Bieber <wlfraed@ix.netcom.com> - 2011-08-31 10:42 -0700
      Re: Installing WebDAV server Dennis Lee Bieber <wlfraed@ix.netcom.com> - 2011-08-31 21:29 -0700
        Re: Installing WebDAV server "Fokke Nauta" <fnautaNO@SPAMsolfon.nl> - 2011-09-01 12:30 +0200
          Re: Installing WebDAV server Dennis Lee Bieber <wlfraed@ix.netcom.com> - 2011-09-01 22:19 -0700
            Re: Installing WebDAV server "Fokke Nauta" <fnautaNO@SPAMsolfon.nl> - 2011-09-02 14:19 +0200
              Re: Installing WebDAV server becky_lewis <bex.lewis@gmail.com> - 2011-09-02 06:09 -0700
                Re: Installing WebDAV server "Fokke Nauta" <fnautaNO@SPAMsolfon.nl> - 2011-09-02 21:21 +0200
                Re: Installing WebDAV server becky_lewis <bex.lewis@gmail.com> - 2011-09-05 02:01 -0700
                Re: Installing WebDAV server "Fokke Nauta" <fnautaNO@SPAMsolfon.nl> - 2011-09-05 16:51 +0200
                Re: Installing WebDAV server becky_lewis <bex.lewis@gmail.com> - 2011-09-06 04:46 -0700
                Re: Installing WebDAV server "Fokke Nauta" <fnautaNO@SPAMsolfon.nl> - 2011-09-06 16:46 +0200
                Re: Installing WebDAV server Dennis Lee Bieber <wlfraed@ix.netcom.com> - 2011-09-06 10:05 -0700
                Re: Installing WebDAV server "Fokke Nauta" <fnautaNO@SPAMsolfon.nl> - 2011-09-06 21:26 +0200
                Re: Installing WebDAV server Dennis Lee Bieber <wlfraed@ix.netcom.com> - 2011-09-06 23:35 -0700
                Re: Installing WebDAV server "Fokke Nauta" <fnautaNO@SPAMsolfon.nl> - 2011-09-07 11:17 +0200
                Re: Installing WebDAV server becky_lewis <bex.lewis@gmail.com> - 2011-09-07 03:31 -0700
                Re: Installing WebDAV server "Fokke Nauta" <fnautaNO@SPAMsolfon.nl> - 2011-09-07 15:52 +0200
                Re: Installing WebDAV server Piet van Oostrum <piet@vanoostrum.org> - 2011-09-08 00:52 +0200
                Re: Installing WebDAV server "Fokke Nauta" <fnautaNO@SPAMsolfon.nl> - 2011-09-08 01:28 +0200
                Re: Installing WebDAV server Piet van Oostrum <piet@vanoostrum.org> - 2011-09-08 13:01 +0200
                Re: Installing WebDAV server "Fokke Nauta" <fnautaNO@SPAMiae.nl> - 2011-09-08 15:57 +0200
              Re: Installing WebDAV server python@bdurham.com - 2011-09-02 09:11 -0400
                Re: Installing WebDAV server "Fokke Nauta" <fnautaNO@SPAMsolfon.nl> - 2011-09-02 21:24 +0200
              Re: Installing WebDAV server Dennis Lee Bieber <wlfraed@ix.netcom.com> - 2011-09-02 10:15 -0700
                Re: Installing WebDAV server "Fokke Nauta" <fnautaNO@SPAMsolfon.nl> - 2011-09-02 21:12 +0200
  Re: Installing WebDAV server "Fokke Nauta" <fnautaNO@SPAMiae.nl> - 2011-09-08 16:10 +0200

csiph-web