You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Martin Marcher <ma...@marcher.name> on 2006/03/03 11:14:56 UTC

[users@httpd] infinite subdirectories with webdav and windows

Hello,

  i configured a vhost to allow webdav to authenticated users, now when
  people connect using either winxp or win2k they get a folder structure
  like:

  folder
  -folder
  --folder
  ---...
  ----...

  that wouldn't be that much of a problem if it would only display like
  that but i had reports that when people copy the top level folder
  windows also copies all subdirectories (including contents) resulting
  in ... minor troubles.

  the logs show nothing special when creating the folder from a client
  or when retrieving (not even the repeated retrieving of the
  "subdirectory". There are only valid requests that

  * create a single directory
  * get a directory and it's contents, but not the recursive gets for
    the folder

  any advice on how to solve this?

  here's the vhost config:

<VirtualHost *>
  ServerAdmin <scrambled>
  ServerName <scrambled>
  ServerAlias *.<scrambled>

  DocumentRoot /srv/<scrambled>/www

  # Possible values include: debug, info, notice, warn, error, crit,
  # alert, emerg.
  LogLevel info

  ErrorLog /srv/<scrambled>/log/error.log
  CustomLog /srv/<scrambled>/log/access.log combined

  DavLockDB /srv/<scrambled>/DavLock

  <Directory /srv/<scrambled>/www>
    Options Indexes -MultiViews

    AllowOverride None

    Dav On
    AuthName "<scrambled>"
    AuthType Basic
    Require group <scrambled>
    
    AuthMySQL_Host 127.0.0.1
    AuthMySQL_User <scrambled>
    AuthMySQL_Password <scrambled>
    AuthMySQL_DB <scrambled>
    
    AuthMySQL_Password_Table <scrambled>
    AuthMySQL_Group_Table <scrambled>
    
    AuthMySQL_Username_Field username
    AuthMySQL_Password_Field password
    AuthMySQL_Group_Field groupname
    AuthMySQL_Empty_Passwords Off
    AuthMySQL_Encryption_Types Plaintext
    AuthMySQL_Authoritative On
    Order allow,deny
    allow from all
  </Directory>

</VirtualHost>

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] infinite subdirectories with webdav and windows

Posted by Martin Marcher <ma...@marcher.name>.
Hi,

On Wed, Mar 08, 2006 at 11:08:58AM -0600, William A. Rowe, Jr. wrote:
> Martin Marcher wrote:
> >Hello,
> >
> >  deathening silence here, are my mails actually sent or is it simply
> >  the case that I didn't see the obvious and you are not answering me?
> 
> Hmmm... more tactful ways to word a 'ping, please respond' plea.

i'm sorry, I assume it got lost in translation...

> Not a server bug, it's user 'error' - Windows Explorer always assumes that
> drag n' drop (copy) of a directory implies the entire tree.

The problem is that those directories actually aren't there, Windows
Explorer just somehow 'sees them', kind of like a symlink to '.'. So
what happens is that if I

$ mkdir test
$ touch test/somefile

People on the Windows clients are actually seeing a folder structure
like:

test/
  test/
    test/
     ...

where each folder contains "somefile"

And even more disturbing Windows Explorer insists on copying all those
directories, they appear out of nowhere and fill up the disk space.

I checked the logs and when I copy a folder the GET requests are ok
which means that Windows Explorer isn't even trying to get the
non-existant subdirectories. With an ignorant costumer who doesn't even
care that there's a public network in between it's quite useless to
explain to him that there's nothing wrong with the server because
"The server is sending me wrong information"
i hope that makes the problem clear. This is not about restructuring or
that Windows Explorer behaviour implies recursive copies. I'm more
disturbed by the fact that data comes out of nowhere.

martin


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] infinite subdirectories with webdav and windows

Posted by "William A. Rowe, Jr." <wr...@rowe-clan.net>.
Martin Marcher wrote:
> Hello,
> 
>   deathening silence here, are my mails actually sent or is it simply
>   the case that I didn't see the obvious and you are not answering me?

Hmmm... more tactful ways to word a 'ping, please respond' plea.

> On Fri, Mar 03, 2006 at 11:14:56AM +0100, Martin Marcher wrote:
> 
>>  i configured a vhost to allow webdav to authenticated users, now when
>>  people connect using either winxp or win2k they get a folder structure
>>  like:
>>
>>  folder
>>  -folder
>>  --folder
>>  ---...
>>  ----...
>>
>>  that wouldn't be that much of a problem if it would only display like
>>  that but i had reports that when people copy the top level folder
>>  windows also copies all subdirectories (including contents) resulting
>>  in ... minor troubles.

And why wouldn't it?  That's a client issue, not an issue with the server.
If the minor troubles are more trouble than they are worth, it's probably
worth your minor investment of time to refactor the directories they have
access too, so there aren't so many nested directories.

Not a server bug, it's user 'error' - Windows Explorer always assumes that
drag n' drop (copy) of a directory implies the entire tree.


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] infinite subdirectories with webdav and windows

Posted by Martin Marcher <ma...@marcher.name>.
Hello,

  deathening silence here, are my mails actually sent or is it simply
  the case that I didn't see the obvious and you are not answering me?

  Martin

On Fri, Mar 03, 2006 at 11:14:56AM +0100, Martin Marcher wrote:
> Hello,
> 
>   i configured a vhost to allow webdav to authenticated users, now when
>   people connect using either winxp or win2k they get a folder structure
>   like:
> 
>   folder
>   -folder
>   --folder
>   ---...
>   ----...
> 
>   that wouldn't be that much of a problem if it would only display like
>   that but i had reports that when people copy the top level folder
>   windows also copies all subdirectories (including contents) resulting
>   in ... minor troubles.
> 
>   the logs show nothing special when creating the folder from a client
>   or when retrieving (not even the repeated retrieving of the
>   "subdirectory". There are only valid requests that
> 
>   * create a single directory
>   * get a directory and it's contents, but not the recursive gets for
>     the folder
> 
>   any advice on how to solve this?
> 
>   here's the vhost config:
> 
> <VirtualHost *>
>   ServerAdmin <scrambled>
>   ServerName <scrambled>
>   ServerAlias *.<scrambled>
> 
>   DocumentRoot /srv/<scrambled>/www
> 
>   # Possible values include: debug, info, notice, warn, error, crit,
>   # alert, emerg.
>   LogLevel info
> 
>   ErrorLog /srv/<scrambled>/log/error.log
>   CustomLog /srv/<scrambled>/log/access.log combined
> 
>   DavLockDB /srv/<scrambled>/DavLock
> 
>   <Directory /srv/<scrambled>/www>
>     Options Indexes -MultiViews
> 
>     AllowOverride None
> 
>     Dav On
>     AuthName "<scrambled>"
>     AuthType Basic
>     Require group <scrambled>
>     
>     AuthMySQL_Host 127.0.0.1
>     AuthMySQL_User <scrambled>
>     AuthMySQL_Password <scrambled>
>     AuthMySQL_DB <scrambled>
>     
>     AuthMySQL_Password_Table <scrambled>
>     AuthMySQL_Group_Table <scrambled>
>     
>     AuthMySQL_Username_Field username
>     AuthMySQL_Password_Field password
>     AuthMySQL_Group_Field groupname
>     AuthMySQL_Empty_Passwords Off
>     AuthMySQL_Encryption_Types Plaintext
>     AuthMySQL_Authoritative On
>     Order allow,deny
>     allow from all
>   </Directory>
> 
> </VirtualHost>
> 
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP Server Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>    "   from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
> 

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org