ap:rewrite
mod_rewrite
in the vhost / server context, you need a leading slash
a RewriteCond on REQUEST_FILENAME must have DOCUMENT_ROOT prepended to match
always anchor your targets (/foo/ instead of foo/), as the RewriteBase won't apply in that context
Official Tutorials
ap/rewrite.txt · Last modified: 2020/11/23 17:23 (external edit)