I want to have a apache http server in between my application and client.
A query parameter has to be passed on accessing by client. For example, if my client is running in http://myhost:myport/myapp then it has to be accessed only by passing the parameter myparam. Like http://myhost:myport/myapp?myparam=123.
So in my apache http server I want to filter the requests which does not contain the query parameter myparam.
I tried using filters. It has some predefined filters but none of the filters satisfy my requirement. I tried using mod_ext_filter. But it seems the entire content being passed to my program, not the URL. Since I need to filter based on the parameter present in URL I don't think it satisfy my requirement.
Is there any http server module which can be be used to filter based on parameter being passed in URL?
EDIT
In addition, I need to get the value from query param and validate it as well. The validation is a REST service call