Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #12890
| From | "Fokke Nauta" <fnautaNO@SPAMsolfon.nl> |
|---|---|
| Newsgroups | comp.lang.python |
| Subject | Re: Installing WebDAV server |
| Date | 2011-09-07 11:17 +0200 |
| Message-ID | <9cor4gFk15U1@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> |
"Dennis Lee Bieber" <wlfraed@ix.netcom.com> wrote in message
news:mailman.823.1315377607.27778.python-list@python.org...
> On Tue, 6 Sep 2011 21:26:12 +0200, "Fokke Nauta"
> <fnautaNO@SPAMsolfon.nl> declaimed the following in
> gmane.comp.python.general:
>
<cut>
>> (here I try to login the WebDAV server with the local IE browser)
>>
>> INFO:fshandler :get_data: D:\Webdav not found
>
> At this point my best suggestion is to study the source code of
> fshandler to see what it is doing at this moment in time (offhand, is
> there any content IN the directory to be "served"?)
There is a file indeed, in d:\Webdav
>> server - - [06/Sep/2011 21:05:35] - Mozilla/4.0 (compatible; MSIE 8.0;
>> Windows N
>> T 5.1; Trident/4.0> - "GET / HTTP/1.1" 404 -
>> server - - [06/Sep/2011 21:05:35] - Mozilla/4.0 (compatible; MSIE 8.0;
>> Windows N
>> T 5.1; Trident/4.0> - "GET / HTTP/1.1" 404 -
>>
> That almost looks like something is trying to retrieve a default
> page for 404 (not found) page.
>
> To save you some time:
>
> -=-=-=-
> if os.path.exists(path):
> if os.path.isfile(path):
> file_size = os.path.getsize(path)
> if range == None:
> ## REST SNIPPED
> else:
> # also raise an error for collections
> # don't know what should happen then..
> log.info('get_data: %s not found' % path)
I have seen this part. Do I need to alter it?
> Note that at this point in the system, it is looking for a FILE, not
> a directory.
> --
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
Back to comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll 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