Changeset 478

Show
Ignore:
Timestamp:
07/28/2005 10:24:06 AM (3 years ago)
Author:
jan
Message:

improved the examples

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • branches/lighttpd-1.3.x/doc/secdownload.txt

    r374 r478  
    2828  secdownload.document-root = <string> 
    2929  secdownload.uri-prefix    = <string>  (default: /) 
    30   secdownload.timeout       = <short>   (default: 60s) 
     30  secdownload.timeout       = <short>   (default: 60 seconds) 
    3131 
    3232Description 
     
    110110Application 
    111111----------- 
    112 :: 
     112 
     113Your application has to generate the correct URLs. The following sample 
     114code for PHP should be easily adaptable to any other language: :: 
    113115 
    114116  <?php 
     
    133135Webserver 
    134136--------- 
    135 :: 
     137 
     138The server has to configured in the same way. The uri-prefix and secret have 
     139to match: :: 
    136140 
    137141  server.modules = ( ..., "mod_secdownload", ... ) 
     
    140144  secdownload.document-root   = "/home/www/servers/download-area/" 
    141145  secdownload.uri-prefix      = "/dl/" 
     146  secdownload.timeout         = 120 
    142147