Path: csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!aioe.org!feeder.news-service.com!newsfeed.xs4all.nl!newsfeed5.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail Return-Path: 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; 'mysql,': 0.04; 'next,': 0.05; 'oh,': 0.09; 'presume': 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; 'subsequent': 0.15; '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; 'subject:server': 0.16; 'url:netcom': 0.16; 'url:wlfraed': 0.16; 'wulfraed': 0.16; 'wed,': 0.17; 'admin': 0.18; 'exists': 0.18; 'insert': 0.19; 'later': 0.21; 'url:home': 0.21; 'aug': 0.24; 'lee': 0.28; 'server': 0.29; 'start,': 0.29; 'table,': 0.29; '(maybe': 0.30; '+0200,': 0.30; 'config': 0.30; 'table.': 0.30; 'specified': 0.31; 'comment': 0.32; 'probably': 0.33; 'to:addr :python-list': 0.33; 'changes.': 0.34; 'flag': 0.34; 'header:X -Complaints-To:1': 0.35; 'file': 0.36; 'created': 0.36; 'run': 0.37; 'but': 0.37; 'received:org': 0.38; 'configured': 0.38; 'some': 0.38; 'should': 0.38; 'subject:: ': 0.39; 'header:Mime- Version:1': 0.39; 'user': 0.39; 'data': 0.39; 'to:addr:python.org': 0.39; 'called': 0.40; 'reset': 0.40; 'further': 0.64; 'enable': 0.67; '(after': 0.67; 'rights': 0.68; 'dennis': 0.77; 'didn\x92t': 0.84; 'i\x92d': 0.93 X-Injected-Via-Gmane: http://gmane.org/ To: python-list@python.org From: Dennis Lee Bieber Subject: Re: Installing WebDAV server Date: Wed, 31 Aug 2011 21:29:04 -0700 Organization: > Bestiaria Support Staff < References: <9c4trjFcfmU1@mid.individual.net> <9c6n4oFsnbU1@mid.individual.net> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Gmane-NNTP-Posting-Host: user-11fa7a1.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 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 50 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1314851358 news.xs4all.nl 2455 [2001:888:2000:d::a6]:59829 X-Complaints-To: abuse@xs4all.nl Xref: x330-a1.tempe.blueboxinc.net comp.lang.python:12546 On Wed, 31 Aug 2011 14:18:00 +0200, "Fokke Nauta" declaimed the following in gmane.comp.python.general: > > I also configured config.ini in D:\Python27\WebDAV\PyWebDAV\DAVServer > > In this file it says: > "# Auth Database Table, Must exists in database prior to firstrun > dbtable=webDav > > # Create User Database Table and Insert system user" > > I created in MySQL a database called webDav. > I can create a table called User, but how many fields? > After looking at the config file… I presume you have specified the MySQL username/password (personally, and out of paranoia, I’d create a webDAV user/password that only has access rights to the specified webDAV database). Next, if you’d read further and didn’t take the comment as the instruction… set firstrun=1 to tell the server this is the first time it is being run – IT WILL create the database table (after the first start, reset the flag to 0 to speed up later runs). Later in the config file set mysql_auth=1 to enable the use of MySQL, and set the admin user/password to what you plan to have it use. You probably want to set daemonize=1 (maybe after first run) Oh, and don’t forget to set the main data directory and any port/host changes. Start the server – it should connect to MySQL, create the table, and add the admin user to the table. Shutdown, and set firstrun=0 to save some subsequent checking... -- Wulfraed Dennis Lee Bieber AF6VN wlfraed@ix.netcom.com HTTP://wlfraed.home.netcom.com/