mod_rewrite cheat sheet

mod_rewrite Tutorials http:/­/ht­tpd.ap­ach­e.o­rg/­doc­s/c­urr­ent­/re­write/ http:/­/ww­w.a­dde­dby­tes.co­m/f­or-­beg­inn­ers­/ur­l-r­ewr­iti­ng-­for­-be­gin­ners/ http:/­/ne­t.t­uts­plu­s.c­om/­tut­ori­als­/ot­her­/a-­dee­per­-lo­ok-­at-­mod­_re­wri­te-­for­-ap­ache/ mod_rewrite RewriteRule Flags C Chained with next rule CO=cookie Set specified cookie E=var:­value Set enviro­nmental variable “var” to “value” F Forbidden (403 header) G Gone – no longer exists H=handler Set handler L Last – stop processing rules N Next – continue processing NC Case insens­itive NE Do not escape … Continue reading