Details
-
Bug
-
Resolution: Duplicate
-
Medium
-
3.10.0, 3.9.4, 4.0.0
-
None
Description
If you want to use the webdav funtionality with other webserver configurations than apache mit mod_php you have may be the problem that you don't have the php server var
$_SERVER['SCRIPT_URL']
To fix this, replace all usage of this variable with
$scriptURL = $_SERVER["REQUEST_URI"] . '/';
This works very well for lighttpd 1.4 + fcgi php 5.2
Tested webdav clients: konqueror, gnome webdavclient, ie6
with ie6 i had a small problem to access for example the url media/images to display all pictures under this folder. Because the webdavserver looks after 'media' as a virtual folder, but the virtualfolder array has only array('Media','Content') and didn't match because of the difference of the first characterer.
I don't understand this, that only the ie does this. Maybe the webdavclient do something different e.g. caching - requesting.
For me i change the virtual Folder name to lowercase:
static function virtualContentFolderName() { return ezi18n( 'kernel/content', "content" ); } static function virtualMediaFolderName() { return ezi18n( 'kernel/content', "media" ); }
That works for me in all tested webdavclients.