in reply to Serve a file from a CGI script
See Serving Static Content using Plack
The search terms you're looking for are anti-hotlink and anti-leech
Its not something you want to do from CGI , its better to use mod_rewrite or mod_hotlink or something :)
Also of interest are Throttling your web server (Oct 00) and How can I use a CGI script to return an image?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Serve a file from a CGI script
by willymacoy (Acolyte) on Feb 14, 2012 at 21:06 UTC |