Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 3 > Installation/Configuration

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 12th October 2010, 17:37
ferrao ferrao is offline
Junior Member
 
Join Date: Feb 2010
Posts: 21
Thanks: 0
Thanked 5 Times in 1 Post
Default How does ISPConfig 3.0.3 enable WebDav?

Don't seem to be able to make webdav work.
Looking at my virtual domain config, all i see is :

<IfModule mod_dav_fs.c>
# DO NOT REMOVE THE COMMENTS!
# IF YOU REMOVE THEM, WEBDAV WILL NOT WORK ANYMORE!
# WEBDAV BEGIN
# WEBDAV END
</IfModule>

But nothing really enables webdav on the server.

I have read the manual, which i bought as soon as it was available, but have to say i am a bit disappointed. It does run you through virtually every single menu option and from a simple user perspective, it looks ok.

But it does not tell you how things work under the hood, which is what i was looking for. Maybe the opportunity for something like a "Developer's manual" or advanced user?

Anyway, i am going off topic here.

Apart from not being able to enable dav, something else is not working.
Manual says :

Directory: This defines the subdirectory of your document root that you want to access with WebDAV. If you leave it empty, you can access the whole document root and its subdirectories with the WebDAV URL http://example.com:80/webdav. If you type in a subdirectory, e.g. images, you can access the images subdirectory as follows: http://example.com:80/webdav/images.

But i i try it i (its exactly what i want), i just get :

"Directory empty"
Reply With Quote
Sponsored Links
  #2  
Old 12th October 2010, 17:48
till till is online now
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,415
Thanks: 812
Thanked 5,204 Times in 4,080 Posts
Default

The code above is fine, as ist the stub where the webdav rules get inserted when you add a new webdav user. Go to the webiste module and add a webdav user now. If you added a webdav user before the above lines got inserted into the vhost, it will not work and you have to delete the webdav user and add it again.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #3  
Old 12th October 2010, 17:50
ferrao ferrao is offline
Junior Member
 
Join Date: Feb 2010
Posts: 21
Thanks: 0
Thanked 5 Times in 1 Post
Default

Actually i got the dav config in now..
The problem was that i messed up the user prefix ([CLIENTNAME]) and ISPConfig did not liked it and as such, did not inserted this.

I still can not access it.. This is what shows up in there :

<IfModule mod_dav_fs.c>
# DO NOT REMOVE THE COMMENTS!
# IF YOU REMOVE THEM, WEBDAV WILL NOT WORK ANYMORE!
# WEBDAV BEGIN

Alias /root /var/www/clients/client6/web58/webdav/root
<Location /root>
DAV On
AuthType Digest
AuthName "root"
AuthUserFile /var/www/clients/client6/web58/webdav/root.htdigest
Require valid-user
Options +Indexes
Order allow,deny
Allow from all
</Location>
# WEBDAV END
</IfModule>

root is what i used as my top user folder, because i could not leave the directory field empty (read previous).

I have tried to auth with the properusername prefix+username but no success. Nothing shows up on this vdomain apache error log.

Furthermore, after setting up a user, i seem to be unable to change it's directory. Is that normal?
Reply With Quote
  #4  
Old 12th October 2010, 17:59
till till is online now
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,415
Thanks: 812
Thanked 5,204 Times in 4,080 Posts
Default

Which Webdav client do you use? The internal Windows 7 client is sometimes a bit tricky in conjunction with apache mod_dav.

Quote:
Is that normal?
Yes, thats intended.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #5  
Old 12th October 2010, 19:53
DKLeader DKLeader is offline
Senior Member
 
Join Date: Sep 2010
Location: Ishoej, Denmark
Posts: 115
Thanks: 7
Thanked 0 Times in 0 Posts
Default

I got some of the same problems.
Tried on a windows7 and on windows vista 64 bit.

Also got the problem with
Quote:
Directory empty
if the field Directory is left only with the webdav/

And as Ferrao wrote :
Quote:
Directory: This defines the subdirectory of your document root that you want to access with WebDAV. If you leave it empty, you can access the whole document root and its subdirectories with the WebDAV URL http://example.com:80/webdav. If you type in a subdirectory, e.g. images, you can access the images subdirectory as follows: http://example.com:80/webdav/images.
Reply With Quote
  #6  
Old 12th October 2010, 21:13
ferrao ferrao is offline
Junior Member
 
Join Date: Feb 2010
Posts: 21
Thanks: 0
Thanked 5 Times in 1 Post
Default

I use Mac OS X Finder to mount the WebDav shares.
I have other webdav virtual domains that i had setup previously to webdav support in 3.0.3 and i have no problem with those.

Quote:
Originally Posted by till View Post
Which Webdav client do you use? The internal Windows 7 client is sometimes a bit tricky in conjunction with apache mod_dav.
Reply With Quote
  #7  
Old 12th October 2010, 21:14
ferrao ferrao is offline
Junior Member
 
Join Date: Feb 2010
Posts: 21
Thanks: 0
Thanked 5 Times in 1 Post
Default

In that case, the user manual is wrong.
Can we open bugs on the user manual as well?

Quote:
Originally Posted by till View Post
Yes, thats intended.
Reply With Quote
  #8  
Old 12th October 2010, 21:26
till till is online now
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,415
Thanks: 812
Thanked 5,204 Times in 4,080 Posts
Default

With document-root the manual means the "webdav" directory here and not the "web" directory, as webdav support is mainly for document sharing and not access the "web" directory as the webdav user would have wrong permisions for that. But I see that this is indeed misleading in the manual and we will fix that for the next release of the manual.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #9  
Old 13th October 2010, 01:20
ferrao ferrao is offline
Junior Member
 
Join Date: Feb 2010
Posts: 21
Thanks: 0
Thanked 5 Times in 1 Post
Default

The document-root being webdav or web is irrelevant for my point and for what i am trying to achieve for that matter.

The manual clearly states "If you leave it empty", which the interface does NOT allow you to do.

So i still believe something is wrong, either with the interface or with the manual.

Quote:
Originally Posted by till View Post
With document-root the manual means the "webdav" directory here and not the "web" directory, as webdav support is mainly for document sharing and not access the "web" directory as the webdav user would have wrong permisions for that. But I see that this is indeed misleading in the manual and we will fix that for the next release of the manual.
Reply With Quote
  #10  
Old 13th October 2010, 01:33
ferrao ferrao is offline
Junior Member
 
Join Date: Feb 2010
Posts: 21
Thanks: 0
Thanked 5 Times in 1 Post
 
Default

The configuration that i have that works is :

<Directory> /var/www/clients/client6/web48/web/webdav>
Options +Indexes +MultiViews
IndexOptions FancyIndexing
AddDefaultCharset UTF-8

DAV On
AuthType Basic
AuthName "webdav"
AuthUserFile /var/www/clients/client6/web48/web/auth/passwd.dav
Require valid-user
</Directory>

The configuration that ISPConfig automatically generates when i insert a new webdav user is :

Alias /root /var/www/clients/client6/web58/webdav/root
<Location /root>
DAV On
AuthType Digest
AuthName "root"
AuthUserFile /var/www/clients/client6/web58/webdav/root.htdigest
Require valid-user
Options +Indexes
Order allow,deny
Allow from all
</Location>

As i said, nothing gets printed in the error log, only access log bellow :

85.247.213.127 - - [13/Oct/2010:00:28:14 +0100] "OPTIONS / HTTP/1.1" 200 0 "-" "WebDAVLib/1.1"
85.247.213.127 - - [13/Oct/2010:00:29:22 +0100] "OPTIONS / HTTP/1.1" 200 0 "-" "WebDAVLib/1.1"
85.247.213.127 - - [13/Oct/2010:00:29:22 +0100] "OPTIONS / HTTP/1.1" 200 0 "-" "WebDAVFS/1.8 (01808000) Darwin/10.4.0 (i386)"



Quote:
Originally Posted by till View Post
Which Webdav client do you use? The internal Windows 7 client is sometimes a bit tricky in conjunction with apache mod_dav.
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
ISPConfig installation into multiple OpenVZ containers letezo Installation/Configuration 11 3rd March 2009 22:47
ISPConfig 3.0.0.7 Beta released till General 78 24th December 2008 11:47
Ubuntu 8.04 server edition ISPconfig installation error malinens Installation/Configuration 4 30th July 2008 07:30
Error zlib to install ispconfig chua_jose Installation/Configuration 6 3rd January 2008 15:42
ISPConfig 2.3.2-dev released till General 9 4th June 2007 10:46


All times are GMT +2. The time now is 13:30.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.