Posted by JDS on 06/09/05 05:31
On Wed, 08 Jun 2005 14:18:25 +0000, diablo wrote:
> I want to offer a download to people for a certain amount of time - after
> the link expires.
>
> basically the setup is that they buy an ebook and receive an email with a
> link to download - but the link should only be valid for a week.
>
> anyway to do that?
If you are using Apache, you can set this up using mod_rewrite.
See:
http://httpd.apache.org/docs-2.0/misc/rewriteguide.html
Specifically the section titled "Time-Dependent Rewriting"
You can put the Rewriting directives in a .htaccess file in the same
directory on the server where the file(s) to which you wish to control
access.
later...
--
JDS | jeffrey@go.away.com
| http://www.newtnotes.com
DJMBS | http://newtnotes.com/doctor-jeff-master-brainsurgeon/
Navigation:
[Reply to this message]
|