Problem with WebDav (1 viewing) (1) Guest
 | | |
|
TOPIC: Problem with WebDav
|
|
Problem with WebDav 4 Months, 3 Weeks ago
|
Karma: 0
|
|
Hello,
I upgrade OWL from 0.96 to 1.0.
And i want to use Webdav.
I modify the index.php file in the OwlWebDav folder :
$server->ServeRequest($_SERVER["DOCUMENT_ROOT"]."/owl");
and userdir and root folder is "Intranet".
I can connect to Webdav and in WebDav debug file i have this error :
[ServerRequest]: BaseDir: /var/www/html/owl
[ServerRequest]: NEWBASE: /fic/m0p20/owl
[check_auth]: AUTHENTICATION REQUESTED FOR User: admin Passwd: $password type:
[check_auth]: Userid: 1 FirstDir: 1
[GET]: Options: Array
(
[path] => /
)
[GET]: FolderID: 1 Path: /fic/m0p20/owlIntranet
Wherei is the problem?
In the confuration?
All file are in the folder /fic/m0p20/owl/Intranet
Thanks
Philippe
|
|
|
|
|
|
|
Re:Problem with WebDav 4 Months, 2 Weeks ago
|
Karma: 0
|
|
hello,
Does some body help me?
WebDav does'nt work.
the description of the problem is in my last post.
All file of OWL is in the '/fic/m0p20/owl/Intranet' system folder.
The apache root_folder is '/var/www/html' and i make a symbolic link from '/fic/m0p20/owl' to /var/www/html/owl".
In OWL database, The root folder is 'Intranet'.
All user have userdir and initial foder is 'Intranet'.
Thanks
Philippe
|
|
|
|
|
|
|
Re:Problem with WebDav 4 Months, 2 Weeks ago
|
Karma: 27
|
|
Have you tried to ad a trailing slash to
$server->ServeRequest($_SERVER["DOCUMENT_ROOT"]."/intranet/");
B0zz
|
|
|
|
|
|
|
Re:Problem with WebDav 4 Months, 2 Weeks ago
|
Karma: 0
|
|
Hello,
I have found the problem.
My ROOT folder is name "Intranet" and not "Documents".
I modify the owldav.php file line :
this->base = $this->base . ereg_replace('Documents','', find_path($iRootDir));
to
this->base = $this->base . ereg_replace('Intranet','', find_path($iRootDir));
and it is OK
Thank
Philippe
|
|
|
|
|
|
|
Re:Problem with WebDav 4 Months, 2 Weeks ago
|
Karma: 27
|
|
Thanks for pointing this out.
I fixed it a bit differently:
$sRootFolderName = fid_to_name('1');
//$this->base = $this->base . ereg_replace('Documents','', find_path($iRootDir));
$this->base = $this->base . ereg_replace($sRootFolderName,'', find_path($iRootDir));
Try this if you can, and confirm that it also works for you.
Regards AND thanks,
B0zz
|
|
|
|
|
|
|
Re:Problem with WebDav 4 Months, 2 Weeks ago
|
Karma: 0
|
|
It is OK
Thanks
Philippe
|
|
|
|
|
|
|
 | | |
|
|
|