HTTPD Restrict Acces to File via Web App

Posted by ssgriffonuser on Server Fault See other posts from Server Fault or by ssgriffonuser
Published on 2012-06-30T06:57:01Z Indexed on 2012/06/30 9:17 UTC
Read the original article Hit count: 140

Filed under:
|

I would like to restrict access to a file until the user has paid for it. This is easy enough if I served the file via a web app, but it seems more efficient to have httpd serve the file. Is there a way to get apache to ask a web app if it can serve a file before serving it? As I'm typing this it seems like it should be trivial but I'm not coming up with a good answer via google. Thanks in advance for any help.

© Server Fault or respective owner

Related posts about apache2

Related posts about redirect