Path: csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!gegeweb.org!de-l.enfer-du-nord.net!feeder1.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: 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; 'instruction.': 0.09; 'myself,': 0.09; 'oh,': 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; '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; 'guessing': 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; 'admin': 0.18; 'wrote': 0.20; 'later': 0.21; 'file,': 0.21; 'url:home': 0.21; '(just': 0.23; 'sep': 0.23; 'command': 0.24; 'specify': 0.24; 'code': 0.25; '(in': 0.26; "i'm": 0.27; 'host': 0.27; 'lee': 0.28; 'thu,': 0.28; "wasn't": 0.28; 'server': 0.29; 'odd': 0.29; 'start,': 0.29; 'table,': 0.29; 'looks': 0.29; '(maybe': 0.30; '+0200,': 0.30; 'config': 0.30; 'table.': 0.30; "didn't": 0.31; 'changes': 0.31; 'comment': 0.32; 'probably': 0.33; 'there': 0.33; 'to:addr:python-list': 0.33; 'changes.': 0.34; 'flag': 0.34; 'header:X-Complaints-To:1': 0.35; 'running': 0.35; 'charset:us-ascii': 0.36; 'file': 0.36; 'run': 0.37; 'but': 0.37; 'something': 0.37; 'could': 0.38; 'received:org': 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; 'reset': 0.40; 'where': 0.40; 'further': 0.64; 'enable': 0.67; '(after': 0.67; 'kept': 0.68; 'dennis': 0.77 X-Injected-Via-Gmane: http://gmane.org/ To: python-list@python.org From: Dennis Lee Bieber Subject: Re: Installing WebDAV server Date: Thu, 01 Sep 2011 22:19:20 -0700 Organization: > Bestiaria Support Staff < References: <9c4trjFcfmU1@mid.individual.net><9c6n4oFsnbU1@mid.individual.net> <9c9578F5eaU2@mid.individual.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Gmane-NNTP-Posting-Host: user-11fb66t.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: 57 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1314941410 news.xs4all.nl 2405 [2001:888:2000:d::a6]:58648 X-Complaints-To: abuse@xs4all.nl Xref: x330-a1.tempe.blueboxinc.net comp.lang.python:12617 On Thu, 1 Sep 2011 12:30:43 +0200, "Fokke Nauta" declaimed the following in gmane.comp.python.general: > "Dennis Lee Bieber" wrote in message > news:mailman.643.1314851358.27778.python-list@python.org... > > Next, if you'd read further and didn't take the comment as the > > instruction. set > > firstrun=1 > > I did > > > 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). > > It didn't create the table. The database kept empty. Odd -- but then, I'm not running it myself, and wasn't up to reading all the code to see what path it takes. > > > 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. > > I did > > > You probably want to set > > daemonize=1 > > (maybe after first run) > > I left this to 0. > > > Oh, and don't forget to set the main data directory and any > > port/host changes. > > I left host and port as they were. The main directory is e:\wwwroot > > > Start the server - it should connect to MySQL, create the table, and > > add the admin user to the table. > > I started the server with server.py (in > D:\Python27\WebDAV\PyWebDAV\DAVServer) -D e:/wwwroot -m -c config.ini > If the main directory is already in the config file, you probably don't need to specify it on the command line... And... could there be something in the code where overriding the directory by command line changes where it looks for the config file? (Just guessing at this point). -- Wulfraed Dennis Lee Bieber AF6VN wlfraed@ix.netcom.com HTTP://wlfraed.home.netcom.com/