.htaccess - What does "!" do in a rewrite Rule? -
i looking @ htaccess file. contains content
rewriteengine on rewriterule !\.(css|jpg|png|xml)$ index.php
what "!" , valid redirection css , other critical files?
!
means not
. in other words, long following doesn't match, apply rule.
# not end in .css, .jpg, .png, or .xml # send index.php rewriterule !\.(css|jpg|png|xml)$ index.php
Comments
Post a Comment