WebDAV error: WEBDAV_DISABLED

Author Message

Peter Schnuerer

Sunday 22 May 2005 10:34:05 pm

I follwed your instructions in:
http://www.ez.no/ez_publish/documentation/configuration/configuration/webdav_setup

the only difference is that I'm using apache2.
here is my vhost.conf:


<VirtualHost xxx.xxx.xxx.xxx:80>
  ServerName webdav-galeria.my-dom.de
  ServerAlias www.webdav-galeria.my-dom.de 
  <Directory /home/www/web9/html/>
    Options FollowSymLinks Indexes ExecCGI
    AllowOverride None
  </Directory>
  DocumentRoot /home/www/web9/html
  RewriteEngine On
  RewriteRule (.*) /webdav.php
  SuexecUserGroup web9 web9
  ScriptAlias /cgi-bin/ /home/www/web9/html/cgi-bin/
  <IfModule mod_python.c>
    <Files ~ "\.py$">
      AddHandler python-program .py
      PythonHandler mod_python.publisher
    </Files>
  </IfModule>
  php_admin_value open_basedir /home/www/web9/html/:/home/www/web9/phptmp/:/home/www/web9/files/:/home/www/web9/atd/
  php_admin_value file_uploads 1
  php_admin_value upload_tmp_dir /home/www/web9/phptmp/
</VirtualHost>


When i try to oben webdav-galeria.my-dom.de in Internet-Explorer (current XP, with SP2) I get an Error, that the Web-Folder can not be openend.

The site is opened in Browser-Mode instead and I see the follwoing error:

Notice: Use of undefined constant WEBDAV_DISABLED - assumed 'WEBDAV_DISABLED' in /home/www/web9/html/webdav.php on line 203
WEBDAV_DISABLED

But I have enabled webdav in my site.ini

Any Help?

Thanx
Peter

PS: KDE / Linux does not work either....

Xavier Dutoit

Sunday 22 May 2005 11:35:08 pm

What's the ez version you use ?

I don't have your problem on ez 3.5.3 (svn).

X+

http://www.sydesy.com

Peter Schnuerer

Monday 23 May 2005 1:01:03 am

sorry... forgot to mention:
it's version 3.5.2

I do think it might be some apache2 problem???

Hans Melis

Monday 23 May 2005 1:28:08 am

You say you've enabled it in site.ini, but the setting to enable webdav is in webdav.ini under [GeneralSettings].

Could you verify that please?

Hans
http://blog.hansmelis.be

Peter Schnuerer

Monday 23 May 2005 1:37:11 am

sorry.. as you said i did it in webdav.ini
just wrote the wrong filename here.

has apache2 to be enabled to support webdav???

Xavier Dutoit

Monday 23 May 2005 1:55:52 am

Hi,

I doubt you need webdav support enabled on apache2 (it allows to browse regular folders as webdav not what you want).

The problem is that webdav is disabled on your system (have a look a webdav.php). Maybe your webdav.ini isn't at the right place, or that you haven't cleared all the cache ?

X+

http://www.sydesy.com

Peter Schnuerer

Monday 23 May 2005 3:38:51 am

i'm a newby at webdav... thanx for help so far!

now this is what i got by now:

connection via my "webdav" sub-domain does not work at all (see above)

connection to my "usual" domain to webdav.php works with kde as long as there are special characters (" ") in the url.

what i do not understand: what do i need the subdomain for?

peter

Xavier Dutoit

Monday 23 May 2005 8:12:31 am

Hi,
Well, if you have mod_rewrite installed and enabled, you shouldn't be able to access /webdav.php from your "usual" domain.

Are you sure you have mod_rewrite installed ?

Apart from that, running out of ideas...

X+

http://www.sydesy.com

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.

eZ debug

Timing: Jan 19 2025 01:01:56
Script start
Timing: Jan 19 2025 01:01:56
Module start 'layout'
Timing: Jan 19 2025 01:01:56
Module start 'content'
Timing: Jan 19 2025 01:01:56
Module end 'content'
Timing: Jan 19 2025 01:01:56
Script end

Main resources:

Total runtime0.8093 sec
Peak memory usage4,096.0000 KB
Database Queries74

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0095 589.2813152.6406
Module start 'layout' 0.00950.0036 741.921939.4766
Module start 'content' 0.01310.7943 781.3984642.8125
Module end 'content' 0.80740.0018 1,424.210920.1484
Script end 0.8093  1,444.3594 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00370.4587160.0002
Check MTime0.00160.1985160.0001
Mysql Total
Database connection0.00130.158310.0013
Mysqli_queries0.717788.6787740.0097
Looping result0.00100.1292720.0000
Template Total0.760794.020.3804
Template load0.00270.332020.0013
Template processing0.758093.662320.3790
Template load and register function0.00010.013710.0001
states
state_id_array0.00120.147610.0012
state_identifier_array0.00090.112320.0005
Override
Cache load0.00230.2811570.0000
Sytem overhead
Fetch class attribute can translate value0.00050.066630.0002
Fetch class attribute name0.00110.1316110.0001
XML
Image XML parsing0.00160.196730.0005
class_abstraction
Instantiating content class attribute0.00000.0044160.0000
General
dbfile0.00640.7941270.0002
String conversion0.00000.001240.0000
Note: percentages do not add up to 100% because some accumulators overlap

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
8content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
8content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
6content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
12content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
2content/datatype/view/ezxmltags/literal.tpl<No override>extension/community/design/standard/templates/content/datatype/view/ezxmltags/literal.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 38
 Number of unique templates used: 7

Time used to render debug report: 0.0002 secs