Share » Forums » Install & configuration » WebDAV configuration trouble

WebDAV configuration trouble

WebDAV configuration trouble

Monday 25 February 2008 7:25:35 pm - 5 replies

Modified on Tuesday 26 February 2008 4:33:47 pm by Brendan Pike

Author Message

Linh Vu

Wednesday 27 February 2008 7:04:58 pm

What are your site.ini, webdav.ini settings and Apache Rewrite rules?

If I had more time, I would write less code.

Brendan Pike

Wednesday 27 February 2008 7:14:04 pm

Thanks.

Apache rewrite rules:

<VirtualHost 000.00.00.00:80>
  <Directory /data/vservers/dev/www/mysite>
    Options FollowSymLinks Indexes ExecCGI
    AllowOverride All
  </Directory>

    ErrorLog /data/log/apache/error-mysite-dev.log
    CustomLog /data/log/apache/totals-mysite-dev.log combined

  DocumentRoot /data/vservers/dev/www/mysite
  RewriteEngine On
  RewriteRule . /webdav.php
  ServerName webdav.mysite.com
</VirtualHost>

settings/siteaccess/mysite_webdav/site.ini

<?php /* #?ini charset="utf-8"?

[DatabaseSettings]
DatabaseImplementation=ezmysql
Server=localhost
User=xxxx
Password=xxxx
Database=mysite
Transactions=enabled
SQLOutput=disabled

[SiteSettings]
LoginPage=embedded
RootNodeDepth=1

[SiteAccessSettings]
RequireUserLogin=true
ShowHiddenNodes=true

[DesignSettings]
SiteDesign=mysite_design
AdditionalSiteDesignList[]=ezwebin
AdditionalSiteDesignList[]=base
*/ ?>

settings/override/webdav.ini.append.php

<?php /* #?ini charset="utf-8"?

[GeneralSettings]
EnableWebDAV=true

*/ ?>

www.dbinformatics.com.au

We are always interested in hearing from experienced eZ PHP programmers and eZ template designers interested in contract work.

Linh Vu

Wednesday 27 February 2008 9:04:50 pm

Put this in your override/site.ini.append.php

[SiteSettings]
SiteList[]=mysite /* siteaccess name */
SiteList[]=myothersite

That variable is used by WebDAV to identify the siteaccesses you want webdav access to.

The error is probably because ezp couldn't find the siteaccess it needs, so it couldn't get the database access account.

See how you go. :)

If I had more time, I would write less code.

Brendan Pike

Wednesday 27 February 2008 9:13:41 pm

Spot on Linh!

After I added SiteList it then worked flawlessly.

Many thanks for taking the time to help. :)

www.dbinformatics.com.au

We are always interested in hearing from experienced eZ PHP programmers and eZ template designers interested in contract work.

Linh Vu

Wednesday 27 February 2008 9:21:06 pm

No worries, mate. :)

If I had more time, I would write less code.

You must be logged in to post messages in this topic!

36 542 Users on board!

Forums menu