Welcome, Guest
Please Login or Register.    Lost Password?

Problem with WebDav
(1 viewing) (1) Guest
Go to bottomPage: 1
TOPIC: Problem with WebDav
#3858
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
LEBRETON
Senior Boarder
Posts: 54
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#3860
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
LEBRETON
Senior Boarder
Posts: 54
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#3867
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
Owl DEV Team
Moderator
Posts: 2146
graph
User Offline Click here to see the profile of this user
Gender: Male b0zzit Location: Ottawa, Ontario, Canada
The administrator has disabled public write access.
 
#3877
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
LEBRETON
Senior Boarder
Posts: 54
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#3884
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
Owl DEV Team
Moderator
Posts: 2146
graph
User Offline Click here to see the profile of this user
Gender: Male b0zzit Location: Ottawa, Ontario, Canada
The administrator has disabled public write access.
 
#3885
Re:Problem with WebDav 4 Months, 2 Weeks ago Karma: 0
It is OK

Thanks

Philippe
LEBRETON
Senior Boarder
Posts: 54
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
Go to topPage: 1

Ad Block