Author
|
Message
|
Marco Zinn
|
Friday 22 August 2003 11:01:49 am
Well, I was curious to see the WebDAV in action.
So, i set up my system reading this:
http://ez.no/developer/ez_publish_3/documentation/installation_and_configuration/configuration/webdav_setup
At (4), I edited site.ini and entered my database AND DB user and DB password.
When I try to connect (using IE 6, Win XP), I get the "user/password" prompt, but "admin/publish" will not let me in. Any ideas?
Marco
http://www.hyperroad-design.com
|
Balazs Halasy
|
Monday 25 August 2003 12:35:20 am
As pointed out in the documentation, the WebDAV server is still beta and not 100% compatible with all clients.
1) Did you make sure that your php.ini sets the "register globals" to ON?
2) Try to disable the authentication and see what happens. You can do this easily by editing the index_webdav.php file (located in your eZ publish root directory). At the bottom: comment out that large if-else structure and uncomment the last two lines ( under "Without auth" ). Are you able to connect now?
3)
After removing the authentication, you could try to do the following from your favourite shell:
-> telnet webdav.mysite.net 80
-> PROPFIND / HTTP/1.1 [PRESS ENTER]
-> Host: localhost [PRESS ENTER] -> [PRESS ENTER] What is the output from the webserver? Balazs
|
Tony Wood
|
Tuesday 26 August 2003 11:43:12 am
Hi Marco,
Part of the problem might be the doco it has a directory where i think i needs a document root.
I believe
<Virtualhost webdav.yoursite.net>
<Directory /path/to/the/root/of/your/ezpublish/installation>
Options FollowSymLinks Indexes ExecCGI
AllowOverride None
</Directory>
RewriteEngine On
RewriteRule !\.(css|jar|js|html|php)$ /index_webdav.php
ServerAdmin root@localhost
<Directory /path/to/the/root/of/your/ezpublish/installation>
ServerName webdav.yoursite.net </VirtualHost> Should be
<Virtualhost webdav.yoursite.net>
<Directory /path/to/the/root/of/your/ezpublish/installation>
Options FollowSymLinks Indexes ExecCGI
AllowOverride None
</Directory>
RewriteEngine On
RewriteRule !\.(css|jar|js|html|php)$ /index_webdav.php
ServerAdmin root@localhost
DocumentRoot /path/to/the/root/of/your/ezpublish/installation
ServerName webdav.yoursite.net </VirtualHost> I am looking at getting this working... currently with a few problems, but this is the obvious one. Tony
Tony Wood : twitter.com/tonywood
Vision with Technology
Experts in eZ Publish consulting & development
Power to the Editor!
Free eZ Training : http://www.VisionWT.com/training
eZ Future Podcast : http://www.VisionWT.com/eZ-Future
|
Tony Wood
|
Tuesday 26 August 2003 1:40:36 pm
Balazs,
I get the following from the test you posted
12a
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<HTML><HEAD>
<TITLE>405 Method Not Allowed</TITLE>
</HEAD><BODY>
<H1>Method Not Allowed</H1>
The requested method PROPFIND is not allowed for the URL /index.html.<P>
<HR>
<ADDRESS>Apache/1.3.27 Server at localhost Port 80</ADDRESS> </BODY></HTML>
Tony Wood : twitter.com/tonywood
Vision with Technology
Experts in eZ Publish consulting & development
Power to the Editor!
Free eZ Training : http://www.VisionWT.com/training
eZ Future Podcast : http://www.VisionWT.com/eZ-Future
|
Balazs Halasy
|
Friday 29 August 2003 3:55:03 am
Regarding the VirtualHost example in the doc: yeah, there was an error (or two) in there; sorry - didn't have time to update it before today (it should be okay now). By the way: just tested the WebDAV server on a Wi2K Laptop with a bundled/installer-version of eZ publish, it worked (without authentication).
|
Tony Wood
|
Friday 29 August 2003 4:00:39 am
Great, thanks. I've seen the changes, i'll keep at it.
Tony Wood : twitter.com/tonywood
Vision with Technology
Experts in eZ Publish consulting & development
Power to the Editor!
Free eZ Training : http://www.VisionWT.com/training
eZ Future Podcast : http://www.VisionWT.com/eZ-Future
|
Björn [email protected]
|
Monday 01 September 2003 11:06:07 am
Is it working for you, Tony?
Looking for a new job? http://www.xrow.com/xrow-GmbH/Jobs
Looking for hosting? http://hostingezpublish.com
-----------------------------------------------------------------------------
GMT +01:00 Hannover, Germany
Web: http://www.xrow.com/
|
Tony Wood
|
Tuesday 02 September 2003 3:07:31 am
I removed the debug info in the webdav server [ezwebdavserver.php function appendtolog()] and i am getting server start messages. so its talking. I can also get IE and an older version of Konqueror to connect and can see the content in Konq but i cannot upload anything yet. From Bs last post it appears the eZ side is solid so i am guessing the client is broken. I am going to find a webdav client on Linux. do you know one? btw I made a minor amendment to the apache conf setup to allow it to work for me, see doco. Still, if at first ..... tony
Tony Wood : twitter.com/tonywood
Vision with Technology
Experts in eZ Publish consulting & development
Power to the Editor!
Free eZ Training : http://www.VisionWT.com/training
eZ Future Podcast : http://www.VisionWT.com/eZ-Future
|
Tony Wood
|
Tuesday 02 September 2003 3:18:16 am
Björn,
Try this as a client if you don't want to run the risk of busting your desktop with latest KDE. http://davtool.sourceforge.net/ tony
Tony Wood : twitter.com/tonywood
Vision with Technology
Experts in eZ Publish consulting & development
Power to the Editor!
Free eZ Training : http://www.VisionWT.com/training
eZ Future Podcast : http://www.VisionWT.com/eZ-Future
|
Tony Wood
|
Tuesday 02 September 2003 5:17:17 am
Ok, i have the browser working using Konqueror [standard RH9 3.1-13] (not IE), it uploads files and create temporary Webdav uploads but it does not place them in the system. I have also go directory creation working at /var/content anything below this looks not to work on my setup. I am going to wait until beta2 to play.. i would grab svn stuff but its down so.. i wait. Looks good and stable, even with authentication on. I think its got a couple of bugs.. the code has 'fix me' stuff in it so i am waiting. tony
Tony Wood : twitter.com/tonywood
Vision with Technology
Experts in eZ Publish consulting & development
Power to the Editor!
Free eZ Training : http://www.VisionWT.com/training
eZ Future Podcast : http://www.VisionWT.com/eZ-Future
|
Marco Zinn
|
Tuesday 02 September 2003 12:32:21 pm
Added:
Very silly question: I saw, that webDAV is an Apache Module (or PHP module?).
Is this required? I guess so. So, the WebDAV-Server in ezPublish is not a complete server, but an application interface to Apache's WebDAV-Functions. If so, someone should tell us and update the docu ;) Tony?
Marco
http://www.hyperroad-design.com
|
Magne Zachrisen
|
Tuesday 02 September 2003 5:23:11 pm
I now got WebDAV working on my system, but it uploads everything as files . this is probably some setting that can be done in webdav.ini, but there's no doc on it, and I got better things to do than reading the source :-) (ok.. I haven't, but I don't want to)... All Idid was take the 3.1 I was running, update it to 3.2 by some merging of config files and blabla (should be a script for that!) and follow the webdav-guide. I had to mess around with the apache virtual host to get it work... You eZ guys were talking about some filters (when uploading via dav) on the conference. Can I implement one now, or isn't the interface ready?
System Developer | eZ Systems | ez.no
|
Tony Wood
|
Wednesday 03 September 2003 9:33:06 am
Marco - No the eZ webDAV code is instead of the apache code.
Magne - I am pleased it worked for you... I just got it working.. i was using a /var/content extension that lists the folders... if i use just / then i can upload files...
Tony Wood : twitter.com/tonywood
Vision with Technology
Experts in eZ Publish consulting & development
Power to the Editor!
Free eZ Training : http://www.VisionWT.com/training
eZ Future Podcast : http://www.VisionWT.com/eZ-Future
|
Ekkehard Dörre
|
Monday 06 October 2003 6:39:12 am
Hi, is there a possibility to run webdav.php on nVH? Greetings, ekke
http://www.coolscreen.de - Over 40 years of certified eZ Publish know-how: http://www.cjw-network.com
CJW Newsletter: http://projects.ez.no/cjw_newsletter - http://cjw-network.com/en/ez-publ...w-newsletter-multi-channel-marketing
|