Skip to content
nagoon97's weblog

nagoon97's weblog

Just another WordPress site

Category: apache

Posted on September 22, 2016

rewrite rules are not applied to a virtual host

Problem:

Rewrite rules defined outside <VirtualHost> are not applied to the virtual host.

 

Solution:

Add the following line inside the <VirtualHost>

RewriteOptions Inherit

Recent Posts

  • How store is injected into context and passed down from Provider
  • type vs which in bash
  • rewrite rules are not applied to a virtual host
  • ~/.bash_profile, ~/.bash_login, ~/.profile, ~/.bashrc and /etc/profile
  • Bash wildcards and brace expansions

Recent Comments

  • 29款Ajax超级特效展示及下载 on Ajax mosaic builder
  • Sam on Differences between designMode and contentEditable
  • rakesh makluri on Differences between designMode and contentEditable
  • Roddy on Differences between designMode and contentEditable
  • Gerald on Differences between designMode and contentEditable

Archives

  • July 2017
  • September 2016
  • June 2016
  • May 2016
  • March 2016
  • January 2016
  • April 2008
  • March 2008

Categories

  • ajax
  • apache
  • bash
  • es6
  • gradle
  • Java
  • javascript
  • linux
  • network
  • react
  • Uncategorized

Meta

  • Log in
  • Entries RSS
  • Comments RSS
  • WordPress.org
Proudly powered by WordPress