From: André Malo Date: Tue, 12 Nov 2002 21:43:45 +0000 (+0000) Subject: update transformation X-Git-Tag: 2.0.44~73 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=7ebe41a26ef45f0481beab2607eb0ec621747437;p=apache update transformation git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@97498 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/docs/manual/mod/directives.html.en b/docs/manual/mod/directives.html.en index 3221821813..a82cf27882 100644 --- a/docs/manual/mod/directives.html.en +++ b/docs/manual/mod/directives.html.en @@ -113,7 +113,7 @@
  • CustomLog
  • Dav
  • DavDepthInfinity
  • -
  • DavLockDB
  • +
  • DavLockDB
  • DavMinTimeout
  • DefaultIcon
  • DefaultLanguage
  • diff --git a/docs/manual/mod/index.html.en b/docs/manual/mod/index.html.en index b0698d6323..4859d512c4 100644 --- a/docs/manual/mod/index.html.en +++ b/docs/manual/mod/index.html.en @@ -55,6 +55,7 @@ address)
    mod_charset_lite
    Specify character set translation or recoding
    mod_dav
    Distributed Authoring and Versioning (WebDAV) functionality
    +
    mod_dav_fs
    filesystem provider for mod_dav
    mod_deflate
    Compress content before it is delivered to the client
    mod_dir
    Provides for "trailing slash" redirects and diff --git a/docs/manual/mod/mod_dav.html.en b/docs/manual/mod/mod_dav.html.en index c27db4548d..b4436f2c93 100644 --- a/docs/manual/mod/mod_dav.html.en +++ b/docs/manual/mod/mod_dav.html.en @@ -15,85 +15,107 @@ extension to the HTTP protocol allows creating, moving, copying, and deleting resources and collections on a remote web server.

    +
    top

    Enabling WebDAV

    +

    To enable mod_dav, add the following to a + container in your httpd.conf file:

    -

    To enable mod_dav, add the following to a container in your - httpd.conf file:

    +

    Dav On

    -

    Dav On

    +

    This enables the DAV file system provider, which is implemented by + the mod_dav_fs module. Therefore that module has to + be compiled into the server or has to be loaded at runtime using the + LoadModule directive.

    + +

    In order to make it work you have to specify a web-server writable + filename for the DAV lock database by adding the following to the + global section in your httpd.conf file:

    -

    Also, specify a valid filename for the DAV lock database by - adding the following to the global section in your - httpd.conf file:

    +

    + DavLockDB /tmp/DavLock +

    -

    DavLockDB /tmp/DavLock     - (Any web-server writable filename, without an - extension) -

    -
    top

    Dav Directive

    - - - - + + + diff --git a/docs/manual/sitemap.html.en b/docs/manual/sitemap.html.en index f99fa41dd6..d16e215df6 100644 --- a/docs/manual/sitemap.html.en +++ b/docs/manual/sitemap.html.en @@ -107,6 +107,7 @@ Server on HPUX
  • Apache Module mod_cgid
  • Apache Module mod_charset_lite
  • Apache Module mod_dav
  • +
  • Apache Module mod_dav_fs
  • Apache Module mod_deflate
  • Apache Module mod_dir
  • Apache Module mod_echo
  • Description: +

    You may wish to add a <Limit> clause inside the <Location> directive to limit access to + DAV-enabled locations. If you want to set the maximum amount of + bytes that a DAV client can send at one request, you have to use + the LimitXMLRequestBody + directive. The "normal" LimitRequestBody directive has no effect on DAV + requests.

    + +

    Full Example

    + DavLockDB /tmp/DavLock
    +
    + <Location /foo>
    + + Dav On
    +
    + AuthType Basic
    + AuthName DAV
    + AuthUserFile user.passwd
    +
    + <LimitExcept GET HEAD OPTIONS>
    + + require user admin
    +
    + </LimitExcept>
    +
    + </Location>
    +

    + +

    Security

    +

    The use of HTTP Basic Authentication is not recommended. You + should use at least HTTP Digest Authentication, which is provided by + the mod_auth_digest module. Nearly all WebDAV clients + support this authentication method. Of course, Basic Authentication + over an SSL enabled connection is secure, + too.

    +
    +
    top

    Dav Directive

    Description: Enable WebDAV HTTP methods
    Syntax: - Dav on|off
    Default: - Dav off
    Context: + Dav On|Off|provider-name
    Default: + Dav Off
    Context: directory
    Status: Extension
    Module: mod_dav

    Use the Dav directive to enable the - WebDAV HTTP methods for the given container. You may wish to add a - <Limit> clause - inside the <location> directive to limit access to - DAV-enabled locations.

    + WebDAV HTTP methods for the given container:

    -

    Example

    - DavLockDB /tmp/DavLock
    -
    - <Location /foo>
    - Dav On
    -
    - AuthType Basic
    - AuthName DAV
    - AuthUserFile user.passwd
    -
    -   <LimitExcept GET HEAD OPTIONS>
    -   require user admin
    -   </LimitExcept>
    - </Location>
    -

    +

    + <Location /foo>
    + + Dav On
    +
    + </Location> +

    + +

    The value On is actually an alias for the default + provider filesystem which is served by the mod_dav_fs module. Note, that once you have DAV enabled + for some location, it cannot be disabled for sublocations. + For a complete configuration example have a look at the section above.

    + +
    + Do not enable WebDAV until you have secured your server. Otherwise + everyone will be able to distribute files on your system. +
    top

    DavDepthInfinity Directive

    Description: Allow PROPFIND, Depth: Infinity requests
    Syntax: DavDepthInfinity on|off
    Default: DavDepthInfinity off
    Context: - directory
    Status: + server config, virtual host, directory
    Status: Extension
    Module: mod_dav

    Use the DavDepthInfinity directive to - allow the processing of PROPFIND requests containing the header - 'Depth: Infinity'. Because this type of request could constitute a - denial-of-service attack, by default it is not allowed.

    -
    top

    DavLockDB Directive

    Description: - Location of the DAV lock database
    Syntax: - DavLockDB file-path
    Context: - server config, virtual host
    Status: - Extension
    Module: - mod_dav
    -

    Use the DavLockDB directive to specify - the full path to the lock database, excluding an extension. The - default (file system) implementation of mod_dav uses a SDBM - database to track user locks. The utility - modules/dav/util/lockview can be used from the server - to display all locks in a lock database.

    - -

    Example

    -DavLockDB /tmp/DavLock -

    + allow the processing of PROPFIND requests containing the + header 'Depth: Infinity'. Because this type of request could constitute + a denial-of-service attack, by default it is not allowed.

    top

    DavMinTimeout Directive

    Description: Minimum amount of time the server holds a lock on a DAV resource
    Syntax: - DavMinTimeout seconds
    Default: + DavMinTimeout seconds
    Default: DavMinTimeout 0
    Context: - directory
    Status: + server config, virtual host, directory
    Status: Extension
    Module: mod_dav

    When a client requests a DAV resource lock, it can also @@ -108,9 +130,11 @@ a DAV resource

    Syntax: (like 600 seconds) to reduce the chance of the client losing the lock due to network latency.

    -

    Example

    - <Location /MSWord>
    - DavMinTimeout 600
    - </Location>
    -

    +

    Example

    + <Location /MSWord>
    + + DavMinTimeout 600
    +
    + </Location> +

    \ No newline at end of file diff --git a/docs/manual/mod/mod_dav_fs.html.en b/docs/manual/mod/mod_dav_fs.html.en new file mode 100644 index 0000000000..bb18de98c8 --- /dev/null +++ b/docs/manual/mod/mod_dav_fs.html.en @@ -0,0 +1,43 @@ + + +mod_dav_fs - Apache HTTP Server
    <-

    Apache Module mod_dav_fs

    Description: + filesystem provider for mod_dav
    Status: + Extension
    Module Identifier: + dav_fs_module
    Source File: + mod_dav_fs.c

    Summary

    +

    This module requires the service of mod_dav. It acts as a support module for mod_dav and provides access to resources located in the + server's file system. The formal name of this provider is + filesystem. mod_dav backend providers + will be invoked by using the Dav + directive:

    + +

    Example

    + Dav filesystem +

    + +

    Since filesystem is the default provider for + mod_dav, you may simply use the value + On instead.

    +

    Directives

    See also

    top

    DavLockDB Directive

    Description: + Location of the DAV lock database
    Syntax: + DavLockDB file-path
    Context: + server config, virtual host
    Status: + Extension
    Module: + mod_dav_fs
    +

    Use the DavLockDB directive to specify + the full path to the lock database, excluding an extension. If + the path is not absolute, it will be taken relative to ServerRoot. The implementation of + mod_dav_fs uses a SDBM database to track user + locks.

    + + + +

    Example

    + DavLockDB logs/DavLock +

    +
    \ No newline at end of file diff --git a/docs/manual/mod/quickreference.html.en b/docs/manual/mod/quickreference.html.en index ae8355a79f..dd94942ac2 100644 --- a/docs/manual/mod/quickreference.html.en +++ b/docs/manual/mod/quickreference.html.en @@ -207,10 +207,10 @@ switch before dumping core
    CustomLog file|pipe format|nickname [env=[!]environment-variable]svB
    Sets filename and format of log file
    Dav on|off off dE
    Enable WebDAV HTTP methods
    DavDepthInfinity on|off off dE
    Allow PROPFIND, Depth: Infinity requests
    DavLockDB file-pathsvE
    Location of the DAV lock database
    DavMinTimeout seconds 0 dE
    Minimum amount of time the server holds a lock on +
    Dav On|Off|provider-name Off dE
    Enable WebDAV HTTP methods
    DavDepthInfinity on|off off svdE
    Allow PROPFIND, Depth: Infinity requests
    DavLockDB file-pathsvE
    Location of the DAV lock database
    DavMinTimeout seconds 0 svdE
    Minimum amount of time the server holds a lock on a DAV resource
    DefaultIcon url-pathsvdhB
    Icon to display for files when no specific icon is configured