Skip to content

Instantly share code, notes, and snippets.

@elvisciotti
Created January 21, 2013 12:14
Show Gist options
  • Save elvisciotti/4585648 to your computer and use it in GitHub Desktop.
Save elvisciotti/4585648 to your computer and use it in GitHub Desktop.
.htaccess example to exclude one directory from subsequent rule
# skip admin directory
RewriteCond %{REQUEST_URI} !^/admin
# rule
RewriteRule ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment