Re: Implement request white list in Apache

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux