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


Groups > comp.lang.python > #12960

Re: Installing WebDAV server

From "Fokke Nauta" <fnautaNO@SPAMiae.nl>
Newsgroups comp.lang.python
Subject Re: Installing WebDAV server
Date 2011-09-08 15:57 +0200
Message-ID <9crvuvFpt2U1@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><9cpbddFtidU1@mid.individual.net><m2zkigartn.fsf@cochabamba.vanoostrum.org><9cqdb0Fpn4U1@mid.individual.net> <m2mxefb8nd.fsf@cochabamba.vanoostrum.org>

Show all headers | View raw


"Piet van Oostrum" <piet@vanoostrum.org> wrote in message 
news:m2mxefb8nd.fsf@cochabamba.vanoostrum.org...
> "Fokke Nauta" <fnautaNO@SPAMsolfon.nl> writes:
>
>> "Piet van Oostrum" <piet@vanoostrum.org> wrote in message
>> news:m2zkigartn.fsf@cochabamba.vanoostrum.org...
>>> "Fokke Nauta" <fnautaNO@SPAMsolfon.nl> writes:
>>>
>>>
>>>> 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 -
>>>>
>>> From the log it looks like you are trying to access the server with the
>>> url:
>>>
>>> http://localhost:8008/ or something similar.
>>
>> Yes, I do.
>>
>>> This won't work as you would try to access the root of your webdav
>>> directory in this way (i.e. D:/webdav). The webdav server can only serve
>>> files, not directories, so you would have to access
>>> http://localhost:8008/somefile.txt where somefile.txt is a file in
>>> D:/webdav.
>>
>> OK, thanks. I am not familiar to WebDAV.
>> I tried. Got something different (at least something happened):
>> "Setuptools version 0.6c9 or greater has been installed.
>> (Run "ez_setup.py -U setuptools" to reinstall or upgrade.)"
>>
>> Wasn't able to find ez_setup.py yet.
>>
> Google for it and install.

I did.

> But I don't understand. You already had WebDav installed, so why do you
> need ez_setup.py?

Well, that was my mistake. I entered in the browser 
http://10.0.0.140:8081/a.txt (one of the textfiles in the directory 
d:\webdav on the server) and got the message:
"Setuptools version 0.6c9 or greater has been installed.
(Run "ez_setup.py -U setuptools" to reinstall or upgrade.)"

At first I thought this came from the webdav server. That's why I searched 
for the ez_setup.py script. Once it was there, I ran it.
It took me some time before I realized it was the actual content of the 
document a.txt on the webdav server what I saw. So it worked! Different that 
I expected, but it works.

>>> This only applies to acces using a browser. If you access the server
>>> through a webdav-aware client (for example the Finder on Mac OS X, or
>>> probably the Windows Explorer) it can serve the contents of the 
>>> directory.
>>> -- 
>>
>> Thanks. I am just trying to use a calendar with a webdav server. I don't
>> have any experience with that.
>> Simply using my browser to try it out.
>
> Did you try the calendar with the WebDav server running?

Not yet. The next step is the calendar.

> Dit you put a file in D:\webdav and try to get it with the browser?

Yes, and that worked! I am able to see the contents of text files.
In my unfamiliarity with WebDAV I expected to open the directory and see the 
files in there.

Many thanks for your help.

Fokke

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