Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #12666
| From | "Fokke Nauta" <fnautaNO@SPAMsolfon.nl> |
|---|---|
| Newsgroups | comp.lang.python |
| Subject | Re: Installing WebDAV server |
| Date | 2011-09-02 21:21 +0200 |
| Message-ID | <9ccoqkF5efU1@mid.individual.net> (permalink) |
| References | <9c4trjFcfmU1@mid.individual.net><mailman.595.1314780791.27778.python-list@python.org><9c6n4oFsnbU1@mid.individual.net><mailman.643.1314851358.27778.python-list@python.org><9c9578F5eaU2@mid.individual.net> <mailman.687.1314941410.27778.python-list@python.org> <9cbvupFjr3U3@mid.individual.net> <86b084e0-09a8-4997-9e0c-4526d7851e1d@s2g2000vby.googlegroups.com> |
"becky_lewis" <bex.lewis@gmail.com> wrote in message news:86b084e0-09a8-4997-9e0c-4526d7851e1d@s2g2000vby.googlegroups.com... On Sep 2, 1:19 pm, "Fokke Nauta" <fnaut...@SPAMsolfon.nl> wrote: > "Dennis Lee Bieber" <wlfr...@ix.netcom.com> wrote in > messagenews:mailman.687.1314941410.27778.python-list@python.org... > > > On Thu, 1 Sep 2011 12:30:43 +0200, "Fokke Nauta" > > <fnaut...@SPAMsolfon.nl> declaimed the following in > > gmane.comp.python.general: > > >> "Dennis Lee Bieber" <wlfr...@ix.netcom.com> 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. > > It's only for experimenting with calendar software, so authorization is > not > a point. > So I forget about MySQL. > >> > 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... > > OK > > > 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). > > Possibly. > I tried this: > server.py -n -c config.ini > Once again, the server is up and running and when I am logging in with my > browser (10.0.0.140:8081) I can see information showing up at the command > prompt, showing somebody is logging is, but the same error: > "fshandler:get_data: \Webdav not found". During starting up the server > mentioned: "pywebdav:Serving data from \Webdav". > > In the config file it says: > "# main directory > directory = \Webdav" > > Perhaps my Python configuration is at fault. > > Fokke Is the path supposed to be absolute? In which case you'd need to have: directory=C:\path\to\Webdav instead of just directory=\Webdav I tried: directory=D:\Webdav directory=D:/Webdav To no avail. It didn.t make any difference. I surely believe my WebDAV installation is at fault. 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