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 of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.