User Tools

Site Tools


ap:rewrite

This is an old revision of the document!


mod_rewrite

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