Ok, I've got it. It was a bad configuration in httpd.conf. I had an error in the apache error log concerning precedence of the NameVirtualHost directive. My conf was :
NameVirtualHost *:80
Listen 80
And I declared two virtual hosts : localhost and webdav.local.
I tried to change the webdav.ini.append.php to add the Gallery class as a folder class. I doesn't seem to work. I deconnect and reconnect my web folder but my gallery content still doesn't appear... I clean the cache of eZ and explorer but nothing happens.
Like always, I spent two hours to decide if I'm going to put a post on ez.no and after five minutes I find the solution.
When you try to connect to the ez webdav server, you must specify the sitaccess that you want to connect to by adding the siteaccess to the url. In my case : http://webdav.local/fre where fre is the siteaccess.
And, naturally, eZ will check permissions and translations.
In my issue, I was trying to see an english gallery in the french siteaccess... :-/
I already got problems with this functionality and specially with the connection.
I've got the right Apach config which allows me to have to virtual hosts :
- one for the standard site : site:80 - one for the webdav : site:81
It's working, I can access separately the webdav and the standard site.
<b>But</b> when I use cadaver to access the content file, I can only reach the list of siteaccess. If I try to enter one siteaccess, I've got an error :
Could not access /wascou/ (not WebDAV-enabled?):
404 Not found
This is very weird because I have not to login to reach the list of siteaccess. Does someone has an idea ?
Here's my webdav log :
2008-03-13 18:35:37 : ========================================
2008-03-13 18:35:37 : Requested URI is: / [webdav.php]
2008-03-13 18:35:37 : WebDAV server started... [processClientRequest]
2008-03-13 18:35:37 : start url: / [CS:processURL]
2008-03-13 18:35:37 : indexdir url: [CS:processURL]
2008-03-13 18:35:37 : ----------------------------------------
2008-03-13 18:35:37 : Client says: PROPFIND [processClientRequest]
2008-03-13 18:35:37 : Target: / [processClientRequest]
2008-03-13 18:35:37 : ----------------------------------------
2008-03-13 18:35:37 : PROPFIND was issued from client. [processClientRequest]
2008-03-13 18:35:37 : Depth: 1. [processClientRequest]
2008-03-13 18:35:37 : Root: Fethcing site list [CS:getCollectionContent]
2008-03-13 18:35:37 : Client requested 7 properties. [outputCollectionContent]
2008-03-13 18:35:37 : XML was parsed [outputCollectionContent]
2008-03-13 18:35:37 : handle function was called with status: 11 [handle]
2008-03-13 18:35:48 : ========================================
2008-03-13 18:35:48 : Requested URI is: /wascou/ [webdav.php]
2008-03-13 18:35:48 : start path: /wascou/ [CS:currentSiteFromPath]
2008-03-13 18:35:48 : indexdir: wascou/ [CS:currentSiteFromPath]
2008-03-13 18:35:48 : no valid site was found.. [CS:currentSiteFromPath]