Restricting access for .jsp to only one IP Address
Posted on 2004-09-11
Background: I am using IBM HTTP Server 2.0 (Apache Webserver) with Websphere 5.1. I am trying to restrict the access of this one JSP to requests coming from a specific IP Address.
I am able to restrict access for static content, like HTML to the specific IP Address through through the <Directory> directive to specify the durectory and then <Files> to specify the actual file and Allow from X.X.X.X to restrict the access.
However, this is not working for the JSP presumably because the IHS actually difers the processing of this page to the App Server.
Can you tell me how I would add a similar restriction to a JSP page?