Yes, you can do this with the help of a redirector which when it detects a "download" link redirects the user to a cgi program returning the customizable error message and other options, including a link for downloading.
The download link is based on the original requested URL, but modified in such manner that the redirector will recognize it as a download link and rewrite it back to the originally requested URL. This can be done by for example either modifying the host component, or adding a ; separated download tag to the end or the URL. Regards Henrik tis 2003-02-25 klockan 10.17 skrev akira: > Dear All, > > I have following scenario for squid, is it possible ? > > 1. User request file download, eg. mysong.mp3 > 2. Squid block the file and display customize error message, that user can > : > 2.1 Email the link so that admin/system can download the file and send the > file to user's email address. > 2.2 Download the file anyway. > > Thank You. -- Henrik Nordstrom <[EMAIL PROTECTED]> MARA Systems AB, Sweden