Created
March 30, 2012 14:46
-
-
Save kemo/2252034 to your computer and use it in GitHub Desktop.
Detect AJAX with .htaccess rewrite rule (mod_rewrite test)
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
RewriteCond %{HTTP:X-Requested-With} !=XMLHttpRequest | |
RewriteCond %{HTTP:X-REQUESTED-WITH} !^(XMLHttpRequest)$ |
Thanks for sharing
Nice, thank you =)
thx
Thanks it is working
thanks, it's working fine.
It worked perfectly. Thank you very much.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Very nice, dude!