mod_rewrite rule defined in global server level does not work inside virtual host in Apache httpd

Solution Unverified - Updated -

Issue

  • mod_rewrite rule defined in global server level does not work inside virtual host in Apache httpd.
  • I would like to use the rewrite rules defined in the global server configutaion to the virtual host configuration.

Environment

  • Apache httpd
    • 2.2
    • 2.4
  • 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.