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.