Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #12509
| From | Dennis Lee Bieber <wlfraed@ix.netcom.com> |
|---|---|
| Subject | Re: Installing WebDAV server |
| Date | 2011-08-31 10:42 -0700 |
| Organization | > Bestiaria Support Staff < |
| References | <9c4trjFcfmU1@mid.individual.net> <mailman.595.1314780791.27778.python-list@python.org> <9c6n4oFsnbU1@mid.individual.net> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.623.1314812710.27778.python-list@python.org> (permalink) |
On Wed, 31 Aug 2011 14:18:00 +0200, "Fokke Nauta"
<fnautaNO@SPAMsolfon.nl> declaimed the following in
gmane.comp.python.general:
> I ran "python setup.py install" in both the PyXML and PyWebDAV directories.
> A lot of things happened and are added into those directories and I guess it
> will be OK.
> Next step, the startup-script "davserver". There is no script as such, also
> not in \python27\tools\scripts.
> I found 2 similar scripts:
> 1. server.py in D:\Python27\WebDAV\PyWebDAV\DAVServer
> 2. WebDAVServer.py in D:\Python27\WebDAV\PyWebDAV\DAV
>
> Which one is the one to use?
>
> 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?
>
I'd suggest browsing the server code to find the MySQLdb calls and
see what it requests... (mysqlqauth.py).
Note that there are two layers involved here...
The MySQL authorized user/password for the connection string TO the
webDAV table, and then webDAV authorized user/passwords IN said table.
Note that dbconn.py defines a class which included a method to
create the table and a method to add users. Oh, and a "first_run" method
which creates the table and inserts supplied user/password pair. I don't
have time to search the code for if that is used, or if you'd have to
manually invoke it somewhere.
From the little I've looked at, while PywebDAV includes working
servers -- they are really demo servers... The package appears to be
designed for the user to develop their customized version.
--
Wulfraed Dennis Lee Bieber AF6VN
wlfraed@ix.netcom.com HTTP://wlfraed.home.netcom.com/
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