httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Marat Khalili <...@rqc.ru>
Subject Re: [users@httpd] Implement request white list in Apache
Date Fri, 08 Jul 2016 12:28:42 GMT
You can do this with mod_rewrite:
>     RewriteCond %{REQUEST_URI} !^allowed_url_1$
>     RewriteCond %{REQUEST_URI} !^allowed_url_2$
>     ...
>     RewriteCond %{REQUEST_URI} !^allowed_url_N$
>     RewriteRule .* - [F,L]

--

With Best Regards,
Marat Khalili
  

On 08/07/16 13:53, Joice Joseph wrote:
> Hi All,
>
> Can someone help me to make the Apache in such a way that It will 
> block all the request filter by default and process only those 
> specified requests to tomcat server.
>
> -- 
> ​​
> ​Cheers​
>
> *Joice Joseph
> *
>


Mime
View raw message