How to redirect requests based on matching list of strings using mod_rewrite in the Apache httpd?
Issue
How to redirect http requests based on matching list of strings in the Apache httpd? Currently, the requests are redirected by writing rewrite rules for each string in conf/httpd.conf
.
Environment
- Red Hat Enterprise Linux (RHEL)
- Red Hat JBoss Web Server (JWS)
- Red Hat JBoss Core Services (JBCS)
- Apache httpd Web Server
- 2.2.x
- 2.4.x
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.