On 10 Dec 2011, at 12:01, Sivaraman V wrote:

> Now we have a requirement that we have to verify for a value in the incoming
> http request header and if present, the request has to sent to the app
> server. If not we have to display a static error page.

The simplest solution is mod_taint.  Configure the server to forward to
the app server, and mod_taint will divert it to your errordocument
if the incoming headers fail to match what's expected.

The classic solution is to do the same thing with mod_rewrite.
It's more complex of course: you need a rewritecond to check
the headers, then a rewriterule to invoke the error if the check fails.

-- 
Nick Kew


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
   "   from the digest: users-digest-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org

Reply via email to