Apache Security
by dushyantg from LinuxQuestions.org on (#58T65)
Hi All,
I am running Apache as Web Server and Tomcat as App Server where I have hosted one application. I want to stop access of few URLs of that web app for specific IP.
I have done "Require IP" settings in apache but by that I can block/allow specific IP to access entire url but I wanted to do some thing as below
example.com/test - its url of my application
example.com/test/login - will be allowed
example.com/test/forgotpass - will not been allowed.
So here I want to restrict internal urls of application
Kindly let me know if any one have any suggestions/tips to do so.
Thanks.


I am running Apache as Web Server and Tomcat as App Server where I have hosted one application. I want to stop access of few URLs of that web app for specific IP.
I have done "Require IP" settings in apache but by that I can block/allow specific IP to access entire url but I wanted to do some thing as below
example.com/test - its url of my application
example.com/test/login - will be allowed
example.com/test/forgotpass - will not been allowed.
So here I want to restrict internal urls of application
Kindly let me know if any one have any suggestions/tips to do so.
Thanks.