Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Intercepts all incoming requests and apply some logic to them

Status
Not open for further replies.

zollen123

Programmer
Apr 29, 2014
2
CA
Is there any apache module exists that intercepts all incoming GET/POST requests and allows business logic to be applied, then either let the requests pass through or redirect the requests to somewhere else?
 
.htaccess handles ALL HTTP requests as that is it's raison d'etre, so mod_alias or mod_rewrite.

Chris.

Indifference will be the downfall of mankind, but who cares?
Time flies like an arrow, however, fruit flies like a banana.
Webmaster Forum
 
It depends on how complicated the business logic needs to be. Something like mod_rewrite can toss or direct requests, but only on simple things like what it finds in the text of the URL. If you have complicated business logic, you may need an application server like Tomcat or JBoss. But then you'd need to know Java.

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top