You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by D <mr...@gmail.com> on 2005/05/03 06:09:03 UTC

[users@httpd] block exe file type transfers

Hi,
I'm running apache 2.0.52 on a redhat linux system as a reverse proxy.
Is it possible to prevent/cancel all browser requests for a particular file
type (specifically *.exe files)? If so, how?
Thanks!
-dan

---------------------------------------------------------------------
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] block exe file type transfers

Posted by Aman Raheja <ar...@techquotes.com>.
You may use RewriteRule with forbidden (F) flag
http://httpd.apache.org/docs-2.0/mod/mod_rewrite.html#rewriterule
HTH
Aman Raheja
http://www.techquotes.com

D wrote:

>Hi,
>I'm running apache 2.0.52 on a redhat linux system as a reverse proxy.
>Is it possible to prevent/cancel all browser requests for a particular file
>type (specifically *.exe files)? If so, how?
>Thanks!
>-dan
>
>---------------------------------------------------------------------
>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
>  
>

---------------------------------------------------------------------
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