Skip to content

Instantly share code, notes, and snippets.

Created May 7, 2013 21:37
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anonymous/8cee862eab2d87e2e891 to your computer and use it in GitHub Desktop.
Save anonymous/8cee862eab2d87e2e891 to your computer and use it in GitHub Desktop.
RewriteCond %{HTTP_HOST} ^[^.]+\.[^.]+\.site\.com$ [NC]
RewriteRule ^(.*)$ http://site.com/$1 [R=404, L,R]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment