Skip to content
Archive of posts filed under the Apache category.

mod_rewrite with a Dynamic RewriteMap

Apache’s mod_rewrite is a beast.  The opening lines of documentation admits it before you even get started.  It’s very powerful, but sometimes hard to wrap your head around what’s going on. Today I needed to dynamically point a request to a folder depending on what the %{SERVER_NAME} is. After reading a bit of documentation, I’ve [...]