Apache httpd mod_rewrite setting does not become effective in VirtualHost

Solution Verified - Updated -

Issue

I configured mod_rewrite setting in the main server context of Apache httpd. But it does not become effective in <VirtualHost>. How do I enable it in <VirtualHost>?

Environment

  • Red Hat JBoss Web Sever (JWS)
  • Red Hat Enterprise Linux
  • Apache httpd
    • mod_rewrite

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content