Installing WebDAV server

F

Fokke Nauta

Piet van Oostrum said:
INFO:DAVServer.fshandler:get_data: d:\webdav not found
XXX --- [07/Sep/2011 11:57:48] - Mozilla/5.0 UJindows NT 5.1; rv:6.0.1>
Gecko/
20100101 Firefox/6.0.1 - "GET / HTTP/1.1" 404 -
XXX --- [07/Sep/2011 11:57:52] - Mozilla/5.0 <Uindows NT 5.1; rv:6.0.1>
Gecko/
20100101 Firefox/6.0.1 - "GET / HTTP/1.1" 404 -
From the log it looks like you are trying to access the server with the
url:

http://localhost:8008/ or something similar.

Yes, I do.
This won't work as you would try to access the root of your webdav
directory in this way (i.e. D:/webdav). The webdav server can only serve
files, not directories, so you would have to access
http://localhost:8008/somefile.txt where somefile.txt is a file in
D:/webdav.

OK, thanks. I am not familiar to WebDAV.
I tried. Got something different (at least something happened):
"Setuptools version 0.6c9 or greater has been installed.
(Run "ez_setup.py -U setuptools" to reinstall or upgrade.)"

Wasn't able to find ez_setup.py yet.
This only applies to acces using a browser. If you access the server
through a webdav-aware client (for example the Finder on Mac OS X, or
probably the Windows Explorer) it can serve the contents of the directory.
--

Thanks. I am just trying to use a calendar with a webdav server. I don't
have any experience with that.
Simply using my browser to try it out.

Fokke
 
P

Piet van Oostrum

Fokke Nauta said:
Piet van Oostrum said:
INFO:DAVServer.fshandler:get_data: d:\webdav not found
XXX --- [07/Sep/2011 11:57:48] - Mozilla/5.0 UJindows NT 5.1; rv:6.0.1>
Gecko/
20100101 Firefox/6.0.1 - "GET / HTTP/1.1" 404 -
XXX --- [07/Sep/2011 11:57:52] - Mozilla/5.0 <Uindows NT 5.1; rv:6.0.1>
Gecko/
20100101 Firefox/6.0.1 - "GET / HTTP/1.1" 404 -
From the log it looks like you are trying to access the server with the
url:

http://localhost:8008/ or something similar.

Yes, I do.
This won't work as you would try to access the root of your webdav
directory in this way (i.e. D:/webdav). The webdav server can only serve
files, not directories, so you would have to access
http://localhost:8008/somefile.txt where somefile.txt is a file in
D:/webdav.

OK, thanks. I am not familiar to WebDAV.
I tried. Got something different (at least something happened):
"Setuptools version 0.6c9 or greater has been installed.
(Run "ez_setup.py -U setuptools" to reinstall or upgrade.)"

Wasn't able to find ez_setup.py yet.
Google for it and install.

But I don't understand. You already had WebDav installed, so why do you
need ez_setup.py?
Thanks. I am just trying to use a calendar with a webdav server. I don't
have any experience with that.
Simply using my browser to try it out.

Did you try the calendar with the WebDav server running?
Dit you put a file in D:\webdav and try to get it with the browser?
 
F

Fokke Nauta

Piet van Oostrum said:
Fokke Nauta said:
Piet van Oostrum said:
INFO:DAVServer.fshandler:get_data: d:\webdav not found
XXX --- [07/Sep/2011 11:57:48] - Mozilla/5.0 UJindows NT 5.1; rv:6.0.1>
Gecko/
20100101 Firefox/6.0.1 - "GET / HTTP/1.1" 404 -
XXX --- [07/Sep/2011 11:57:52] - Mozilla/5.0 <Uindows NT 5.1; rv:6.0.1>
Gecko/
20100101 Firefox/6.0.1 - "GET / HTTP/1.1" 404 -

From the log it looks like you are trying to access the server with the
url:

http://localhost:8008/ or something similar.

Yes, I do.
This won't work as you would try to access the root of your webdav
directory in this way (i.e. D:/webdav). The webdav server can only serve
files, not directories, so you would have to access
http://localhost:8008/somefile.txt where somefile.txt is a file in
D:/webdav.

OK, thanks. I am not familiar to WebDAV.
I tried. Got something different (at least something happened):
"Setuptools version 0.6c9 or greater has been installed.
(Run "ez_setup.py -U setuptools" to reinstall or upgrade.)"

Wasn't able to find ez_setup.py yet.
Google for it and install.

I did.
But I don't understand. You already had WebDav installed, so why do you
need ez_setup.py?

Well, that was my mistake. I entered in the browser
http://10.0.0.140:8081/a.txt (one of the textfiles in the directory
d:\webdav on the server) and got the message:
"Setuptools version 0.6c9 or greater has been installed.
(Run "ez_setup.py -U setuptools" to reinstall or upgrade.)"

At first I thought this came from the webdav server. That's why I searched
for the ez_setup.py script. Once it was there, I ran it.
It took me some time before I realized it was the actual content of the
document a.txt on the webdav server what I saw. So it worked! Different that
I expected, but it works.
Did you try the calendar with the WebDav server running?

Not yet. The next step is the calendar.
Dit you put a file in D:\webdav and try to get it with the browser?

Yes, and that worked! I am able to see the contents of text files.
In my unfamiliarity with WebDAV I expected to open the directory and see the
files in there.

Many thanks for your help.

Fokke
 
F

Fokke Nauta

Fokke Nauta said:
Hi all,

I am completely new to Python, but I'm confronted with a problem I can't
solve.
This is my question:

I'm running a PC with XP Pro32, which acts as a file server/print
server/FTP server and web server. The web server is facilitated by the
Aprelium Abyss X2 server, and has Perl and PHP support on http and https.
It all works fine.
To do some research with some calender systems and to share the Outlook
calendar I need a WebDAV server. After googling I found the Python WebDAV
server.
I installed Python 3.2.1 and extracted the packages PyWebDAV and PyXML.
Now I have a working Python app and 2 directories called PyWebDAV-0.9.4.1
and PyXML-0.8.4. In the PyWebDAV README it says:

Installation and setup of server can be as easy as follows:

$ easy_install PyWebDAV
$ davserver -D /tmp -n -J

But of course it doesn't work like that. When I start up Python GUI I see
the ">>>" prompt instead of the "$" prompt. But where do I place the two
directories? And there is no easy_install script in the PyXML-0.8.4
directory, only a setup.py and ez_setup.py script. I guess the latter is
the one to use. But how?

How do I proceed next?

Any help will be appreciated.
Thanks in advance.

With regards,
Fokke Nauta

I have my webdav server up and running.

Many thanks for all who contributed to solving this problem.

With regards,
Fokke Nauta
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,775
Messages
2,569,601
Members
45,183
Latest member
BettinaPol

Latest Threads

Top