WebDAV

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 Dieding@xrow.de

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

eZ debug

Timing: Jan 18 2025 19:31:00
Script start
Timing: Jan 18 2025 19:31:00
Module start 'content'
Timing: Jan 18 2025 19:31:01
Module end 'content'
Timing: Jan 18 2025 19:31:01
Script end

Main resources:

Total runtime0.8227 sec
Peak memory usage4,096.0000 KB
Database Queries235

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0072 588.7344180.8516
Module start 'content' 0.00720.6612 769.5859869.0938
Module end 'content' 0.66840.1542 1,638.6797361.3438
Script end 0.8226  2,000.0234 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00410.4927210.0002
Check MTime0.00150.1855210.0001
Mysql Total
Database connection0.00060.072710.0006
Mysqli_queries0.694884.45502350.0030
Looping result0.00310.37652330.0000
Template Total0.793296.420.3966
Template load0.00230.275120.0011
Template processing0.790996.144720.3955
Template load and register function0.00010.017710.0001
states
state_id_array0.00120.149410.0012
state_identifier_array0.00080.099320.0004
Override
Cache load0.00230.27621180.0000
Sytem overhead
Fetch class attribute can translate value0.00330.402070.0005
Fetch class attribute name0.00210.2566200.0001
XML
Image XML parsing0.00500.605570.0007
class_abstraction
Instantiating content class attribute0.00010.0072280.0000
General
dbfile0.00410.5010570.0001
String conversion0.00000.000930.0000
Note: percentages do not add up to 100% because some accumulators overlap

CSS/JS files loaded with "ezjscPacker" during request:

CacheTypePacklevelSourceFiles
CSS0extension/community/design/community/stylesheets/ext/jquery.autocomplete.css
extension/community_design/design/suncana/stylesheets/scrollbars.css
extension/community_design/design/suncana/stylesheets/tabs.css
extension/community_design/design/suncana/stylesheets/roadmap.css
extension/community_design/design/suncana/stylesheets/content.css
extension/community_design/design/suncana/stylesheets/star-rating.css
extension/community_design/design/suncana/stylesheets/syntax_and_custom_tags.css
extension/community_design/design/suncana/stylesheets/buttons.css
extension/community_design/design/suncana/stylesheets/tweetbox.css
extension/community_design/design/suncana/stylesheets/jquery.fancybox-1.3.4.css
extension/bcsmoothgallery/design/standard/stylesheets/magnific-popup.css
extension/sevenx/design/simple/stylesheets/star_rating.css
extension/sevenx/design/simple/stylesheets/libs/fontawesome/css/all.min.css
extension/sevenx/design/simple/stylesheets/main.v02.css
extension/sevenx/design/simple/stylesheets/main.v02.res.css
JS0extension/ezjscore/design/standard/lib/yui/3.17.2/build/yui/yui-min.js
extension/ezjscore/design/standard/javascript/jquery-3.7.0.min.js
extension/community_design/design/suncana/javascript/jquery.ui.core.min.js
extension/community_design/design/suncana/javascript/jquery.ui.widget.min.js
extension/community_design/design/suncana/javascript/jquery.easing.1.3.js
extension/community_design/design/suncana/javascript/jquery.ui.tabs.js
extension/community_design/design/suncana/javascript/jquery.hoverIntent.min.js
extension/community_design/design/suncana/javascript/jquery.popmenu.js
extension/community_design/design/suncana/javascript/jScrollPane.js
extension/community_design/design/suncana/javascript/jquery.mousewheel.js
extension/community_design/design/suncana/javascript/jquery.cycle.all.js
extension/sevenx/design/simple/javascript/jquery.scrollTo.js
extension/community_design/design/suncana/javascript/jquery.cookie.js
extension/community_design/design/suncana/javascript/ezstarrating_jquery.js
extension/community_design/design/suncana/javascript/jquery.initboxes.js
extension/community_design/design/suncana/javascript/app.js
extension/community_design/design/suncana/javascript/twitterwidget.js
extension/community_design/design/suncana/javascript/community.js
extension/community_design/design/suncana/javascript/roadmap.js
extension/community_design/design/suncana/javascript/ez.js
extension/community_design/design/suncana/javascript/ezshareevents.js
extension/sevenx/design/simple/javascript/main.js

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1node/view/full.tplfull/forum_topic.tplextension/sevenx/design/simple/override/templates/full/forum_topic.tplEdit templateOverride template
14content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
14content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
13content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
21content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1pagelayout.tpl<No override>extension/sevenx/design/simple/templates/pagelayout.tplEdit templateOverride template
 Number of times templates used: 64
 Number of unique templates used: 6

Time used to render debug report: 0.0002 secs