improved the examples

git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.3.x@478 152afb58-edef-0310-8abb-c4023f1b3aa9
svn/heads/lighttpd-1.3.x
Jan Kneschke 2005-07-28 10:24:06 +00:00
parent c5502e66eb
commit 35ba71e811
1 changed files with 8 additions and 3 deletions

View File

@ -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