Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 3 > General

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 24th August 2010, 16:34
damir damir is offline
Senior Member
 
Join Date: Jun 2006
Posts: 375
Thanks: 11
Thanked 51 Times in 42 Posts
Default ISPC 3.0.3 beta1, webdav users and paths

I have a question regarding the new Webdav function in ISPC 3.0.3 Beta 1.

I have created webdav user "demo_com_webdav1" with following path:

webdav/design

I can login without problems and everything works. Now i have created some folders in that design folder like this.

webdav/design/upload/city

Now when i create new webdav user "demo_com_webdav2" with following path:

webdav/design/upload/city

That user can't login. Is it possible for users to login inside folders that are nested?
Reply With Quote
Sponsored Links
  #2  
Old 24th August 2010, 16:42
till till is online now
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 36,392
Thanks: 833
Thanked 5,487 Times in 4,319 Posts
Default

As far as I know, it does not matter for webdav if the path is ested. Which errors do you get in the error.log of the website?
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #3  
Old 25th August 2010, 08:54
damir damir is offline
Senior Member
 
Join Date: Jun 2006
Posts: 375
Thanks: 11
Thanked 51 Times in 42 Posts
Default

Im getting the following error:

Code:
Digest: user `demo_com_webdav2' in realm `design' not found: /design/upload/city
It seams that it's not allowed to bypass the .htdigest file of first user.
Reply With Quote
  #4  
Old 26th August 2010, 10:06
damir damir is offline
Senior Member
 
Join Date: Jun 2006
Posts: 375
Thanks: 11
Thanked 51 Times in 42 Posts
Default

The reason why it doesn't work is that when you create new user and set the path inside allready created webdav user and their folders like i described in first message is that ISPConfig doesn't wrirte new user and dav information to .vhost file.

.vhost file only contains information of the first created user and not the second one.
Reply With Quote
  #5  
Old 26th August 2010, 12:25
damir damir is offline
Senior Member
 
Join Date: Jun 2006
Posts: 375
Thanks: 11
Thanked 51 Times in 42 Posts
Default

I will continue my monolog here

Here is description of the bug, if Vogelor or Till can take at look at it and commit a fix in new Beta 2

Procedure:

1: Add new webdav user, Webdav User / Add new Webdav User. Choose your site, add username (in this example i will use demo) demo.
2: Type the password and in Direcotry field type "demo". Hit Save
3: Wait a minute or two for ISPConfig to update it self.
4: New webdav user and directory is created correctly and information is written to .vhost file.

Bug

1: Add new webdav user, Webdav User / Add new Webdav User. Choose same site as previous site, add username demo2.
2: Type the password and in Direcotry field type "demo/newdemo". Hit Save
3: Wait a minute or two for ISPConfig to update it self.
4: New webdav user, htdigest file and directory is created correctly.
5: New information is NOT written to .vhost file. Vhost file contains only information of the first created user demo.

If i add information manually to .vhost file everything works and i can connect as demo2 to subfolder of demo user but that is now solution

I will add it to bugtracker.
Reply With Quote
  #6  
Old 26th August 2010, 17:23
till till is online now
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 36,392
Thanks: 833
Thanked 5,487 Times in 4,319 Posts
 
Default

Thanks for the bugreport. We will fix it until the final release of 3.0.3.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
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


All times are GMT +2. The time now is 17:12.


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