标签: apache .htaccess
RewriteEngine On RewriteCond %{REQUEST_URI} ./ext/.* RewriteCond %{HTTP_COOKIE} !^user_id=.*$ [OR] RewriteCond %{HTTP_COOKIE} !^customer_id=.*$ RewriteRule ^(.*)$ http://%{HTTP_HOST}/404.php
我想要在cookie上使用isset user_id OR customer_id,它会通过。但这不起作用。