Changes

Jump to navigation Jump to search
2,179 bytes removed ,  14:19, 1 June 2009
Line 5: Line 5:  
* Followup: the "web folders" update did *not* solve the problem - WebDAV works from Windows XP using "My Network Places", but users will get random requests to select a client certificate.  When asked, the user can click either "OK" or "Cancel", and will then be allowed to open the selected item.
 
* Followup: the "web folders" update did *not* solve the problem - WebDAV works from Windows XP using "My Network Places", but users will get random requests to select a client certificate.  When asked, the user can click either "OK" or "Cancel", and will then be allowed to open the selected item.
   −
=== Changes to 95Addmod_dav2ibays ===
+
 
<nowiki>--- ../95Addmod_dav2ibays      2009-05-30 08:37:53.000000000 -0400
  −
+++ 95Addmod_dav2ibays  2009-05-30 11:32:12.000000000 -0400
  −
@@ -24,10 +24,11 @@
  −
                $OUT .= "    IndexOptions FancyIndexing IconsAreLinks\n\n";
  −
                if ($properties{'Group'})
  −
                {
  −
-                    $OUT .= "    AuthName \"$key\"\n";
  −
+                    $OUT .= "    AuthName ".$properties{'Name'}."\n";
  −
                    $OUT .= "    AuthType Basic\n";
  −
                    $OUT .= "    AuthExternal pwauth\n\n";
  −
-                    # Save groupname and find it in the group list
  −
+                    $OUT .= "    <LimitExcept GET POST PROPFIND OPTIONS CONNECT>\n\n";
  −
+                    # Save groupname and find it in the group list
  −
                    $iBayGroup = $properties{'Group'};
  −
                    foreach my $group ($adb->groups)
  −
                    {
  −
@@ -42,8 +43,8 @@
  −
                            {
  −
                                # need to break user list on commas then output each one...
  −
                                my @values = split(',',$groupprops{'Members'});
  −
-                                $OUT .= "    # Replace ibay name with any valid group member to validate\n";
  −
-                                $OUT .= "    Require user ";
  −
+                                $OUT .= "        # Replace ibay name with any valid group member to validate\n";
  −
+                                $OUT .= "        Require user ";
  −
                                foreach my $val (@values) {
  −
                                    $OUT .= $val . " ";
  −
                                }
  −
@@ -59,10 +60,7 @@
  −
                    }
  −
                }
  −
                # Ensure only valid users get to do stuff...
  −
-                $OUT .= "    <Limit GET PUT POST DELETE PROPFIND PROPPATCH MKCOL COPY MOVE LOCK UNLOCK>\n\n";
  −
-                $OUT .= "        Allow from all\n";
  −
-                $OUT .= "        Require valid-user\n\n";
  −
-                $OUT .= "    </Limit>\n\n";
  −
+                $OUT .= "    </LimitExcept>\n\n";
  −
                $OUT .= "</Directory>\n";
  −
            }
  −
        }</nowiki>
      
== Older Notes ==
 
== Older Notes ==

Navigation menu