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


Groups > comp.lang.python > #12880

Re: Installing WebDAV server

Path csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!gegeweb.org!de-l.enfer-du-nord.net!feeder2.enfer-du-nord.net!feeds.phibee-telecom.net!newsfeed.xs4all.nl!newsfeed6.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail
Return-Path <python-python-list@m.gmane.org>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.000
X-Spam-Evidence '*H*': 1.00; '*S*': 0.00; 'else:': 0.03; 'python': 0.08; 'none:': 0.09; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:80.91.229.12': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'received:lo.gmane.org': 0.09; 'win32': 0.12; '"copyright",': 0.16; '"credits"': 0.16; '(here': 0.16; '2.7.2': 0.16; '404': 0.16; 'bieber': 0.16; 'declaimed': 0.16; 'email addr:ix.netcom.com': 0.16; 'email name:wlfraed': 0.16; 'from:addr:ix.netcom.com': 0.16; 'from:addr:wlfraed': 0.16; 'from:name:dennis lee bieber': 0.16; 'received:66.245': 0.16; 'received:dsl.mindspring.com': 0.16; 'received:mindspring.com': 0.16; 'received:wlfraed': 0.16; 'shell:': 0.16; 'subject:server': 0.16; 'url:netcom': 0.16; 'url:wlfraed': 0.16; 'wulfraed': 0.16; '>>>': 0.18; 'trying': 0.21; 'file,': 0.21; 'url:home': 0.21; 'tue,': 0.23; 'sep': 0.23; 'command': 0.24; 'code': 0.25; 'suggestion': 0.26; 'windows': 0.26; 'raise': 0.28; 'lee': 0.28; 'bit': 0.28; 'import': 0.28; 'server': 0.29; 'looks': 0.29; '+0200,': 0.30; 'collections': 0.30; 'error': 0.32; 'time:': 0.32; 'source': 0.33; 'there': 0.33; 'to:addr:python-list': 0.33; 'directory.': 0.34; 'header:X-Complaints-To:1': 0.35; 'charset:us- ascii': 0.36; 'doing': 0.36; 'page.': 0.36; 'skip:i 30': 0.37; 'rest': 0.37; 'page': 0.37; 'something': 0.37; '(not': 0.38; 'received:org': 0.38; 'listening': 0.38; 'some': 0.38; 'should': 0.38; 'skip:o 20': 0.38; 'subject:: ': 0.39; 'skip:d 40': 0.39; 'header:Mime-Version:1': 0.39; 'data': 0.39; 'to:addr:python.org': 0.39; 'more': 0.60; 'skip:w 30': 0.61; 'url:10': 0.64; 'login': 0.69; 'url:0': 0.69; 'url:ip addr': 0.74; 'dennis': 0.77
X-Injected-Via-Gmane http://gmane.org/
To python-list@python.org
From Dennis Lee Bieber <wlfraed@ix.netcom.com>
Subject Re: Installing WebDAV server
Date Tue, 06 Sep 2011 23:35:41 -0700
Organization > Bestiaria Support Staff <
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>
Mime-Version 1.0
Content-Type text/plain; charset=us-ascii
Content-Transfer-Encoding 7bit
X-Gmane-NNTP-Posting-Host user-11fa5ec.dsl.mindspring.com
X-Newsreader Forte Agent 3.3/32.846
X-No-Archive YES
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.12
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <http://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.823.1315377607.27778.python-list@python.org> (permalink)
Lines 67
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1315377607 news.xs4all.nl 2466 [2001:888:2000:d::a6]:33895
X-Complaints-To abuse@xs4all.nl
Xref x330-a1.tempe.blueboxinc.net comp.lang.python:12880

Show key headers only | View raw


On Tue, 6 Sep 2011 21:26:12 +0200, "Fokke Nauta"
<fnautaNO@SPAMsolfon.nl> declaimed the following in
gmane.comp.python.general:


> This is my Python shell:
> 
> Python 2.7.2 (default, Jun 12 2011, 15:08:59) [MSC v.1500 32 bit (Intel)] on 
> win32
> Type "copyright", "credits" or "license()" for more information.
> >>> import os.path
> >>> os.path.isdir("d:\webdav")
> True
> >>>
> 
> So Python recognizes the directory d:\webdav
> 
> This is the command shell:
> 
> D:\Python27\WebDAV\PyWebDAV\DAVServer>server.py -n -c config.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: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>
> 
> (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"?)

> 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)

	Note that at this point in the system, it is looking for a FILE, not
a directory.
-- 
	Wulfraed                 Dennis Lee Bieber         AF6VN
        wlfraed@ix.netcom.com    HTTP://wlfraed.home.netcom.com/

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