Forums / Install & configuration / WebDAV error: WEBDAV_DISABLED

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

eZ debug

Timing: Jan 20 2025 00:53:40
Script start
Timing: Jan 20 2025 00:53:40
Module start 'content'
Timing: Jan 20 2025 00:53:40
Module end 'content'
Timing: Jan 20 2025 00:53:41
Script end

Main resources:

Total runtime0.1685 sec
Peak memory usage2,048.0000 KB
Database Queries141

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0061 589.0703180.8281
Module start 'content' 0.00610.0086 769.8984102.0391
Module end 'content' 0.01470.1537 871.9375531.8047
Script end 0.1684  1,403.7422 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00372.1683200.0002
Check MTime0.00150.8755200.0001
Mysql Total
Database connection0.00070.419610.0007
Mysqli_queries0.111466.12061410.0008
Looping result0.00140.86021390.0000
Template Total0.153391.010.1533
Template load0.00090.543210.0009
Template processing0.152490.453410.1524
Override
Cache load0.00060.384110.0006
Sytem overhead
Fetch class attribute can translate value0.00100.580010.0010
XML
Image XML parsing0.00030.188210.0003
General
dbfile0.01136.7100200.0006
String conversion0.00000.003030.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
1pagelayout.tpl<No override>extension/sevenx/design/simple/templates/pagelayout.tplEdit templateOverride template
 Number of times templates used: 1
 Number of unique templates used: 1

Time used to render debug report: 0.0001 secs