diff options
author | Jan Kneschke <jan@kneschke.de> | 2005-07-28 10:24:06 +0000 |
---|---|---|
committer | Jan Kneschke <jan@kneschke.de> | 2005-07-28 10:24:06 +0000 |
commit | 35ba71e811f978dd164f5c3da68c0fcdcd97e1c2 (patch) | |
tree | 599f0c98a11d8411b1edfd28221365c610cce654 /doc | |
parent | c5502e66ebed8caf532aeb00ed3fa4944a0c5957 (diff) | |
download | lighttpd-git-35ba71e811f978dd164f5c3da68c0fcdcd97e1c2.tar.gz |
improved the examples
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.3.x@478 152afb58-edef-0310-8abb-c4023f1b3aa9
Diffstat (limited to 'doc')
-rw-r--r-- | doc/secdownload.txt | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/doc/secdownload.txt b/doc/secdownload.txt index a67f0a64..fb946eda 100644 --- a/doc/secdownload.txt +++ b/doc/secdownload.txt @@ -27,7 +27,7 @@ Options secdownload.secret = <string> secdownload.document-root = <string> secdownload.uri-prefix = <string> (default: /) - secdownload.timeout = <short> (default: 60s) + secdownload.timeout = <short> (default: 60 seconds) Description =========== @@ -109,7 +109,9 @@ Example Application ----------- -:: + +Your application has to generate the correct URLs. The following sample +code for PHP should be easily adaptable to any other language: :: <?php @@ -132,11 +134,14 @@ Application Webserver --------- -:: + +The server has to configured in the same way. The uri-prefix and secret have +to match: :: server.modules = ( ..., "mod_secdownload", ... ) secdownload.secret = "verysecret" secdownload.document-root = "/home/www/servers/download-area/" secdownload.uri-prefix = "/dl/" + secdownload.timeout = 120 |