Created
May 11, 2011 16:00
-
-
Save tomoconnor/966745 to your computer and use it in GitHub Desktop.
Rewrite Rule to disallow non-cookie authed users
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
RewriteEngine On | |
RewriteCond %{HTTP_COOKIE} !^PHPSESSID [NC] | |
RewriteRule .*/? http://example.org/not-authorized [R] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment