You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Mike Beattie <mi...@sepomo.com> on 2004/03/01 08:18:02 UTC

[users@httpd] intercepting posts

Hi

We are running apps on a standard LAMP set up but have come across a problem
we can't fix.  We have numerous files spread around the server (mp3, avi,
exe and so on) and wish to intercept all requests for them with a script, so
that the requests can be processed and if valid, authorised.  The validation
requires accessing DB etc. so the .htaccess solution doesn't seem right.
Has anyone fixed this before ?

Regards,



Mike Beattie
Sepomo S.L.
www.sepomo.com
+34 91 711 6257


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] intercepting posts

Posted by Nick Kew <ni...@webthing.com>.
On Mon, 1 Mar 2004, Mike Beattie wrote:

> Hi
>
> We are running apps on a standard LAMP set up but have come across a problem
> we can't fix.  We have numerous files spread around the server (mp3, avi,
> exe and so on) and wish to intercept all requests for them with a script, so

With a script?  AddHandler.

Or use <Files> / <FilesMatch> if you want to do more than just set a
handler.

-- 
Nick Kew

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org