![]() |
Apache ModReWrite question
Im trying to redirect users based on country. Running into a problem negating something.
RewriteEngine on RewriteCond %{ENV:myvar} !^AU$ [OR] RewriteCond %{ENV:myvar} !^US$ [OR] RewriteCond %{ENV:myvar} !^CA$ RewriteRule ^(.*)$ http://www.redirecturl.com [L] So essentially, what this does is redirect EVERY country except for AU, US and CA. Doesn't seem to work. Shouldn't added the bang (!) negate the reg expression? Or do I have my syntax wrong? In any way...help! |
fucking hahaha shit
|
All times are GMT -7. The time now is 03:25 PM. |
Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123