- #1
Paolo Cera
- 2
- 0
Anyone know of the proper syntax that captures this metaphor?
Given a Cookie and URI, I would like to check for the existence of a substring in the cookie in the URI and then proceed to a rewrite rule accordingly.
Here's an example of my reasoning
I would suspect something likes this is syntactically correct, but repeated testing proves me wrong. Any help would be appreciated.
Given a Cookie and URI, I would like to check for the existence of a substring in the cookie in the URI and then proceed to a rewrite rule accordingly.
Here's an example of my reasoning
Code:
RewriteEngine on
...
RewriteCond %{HTTP_COOKIE},%{REQUEST_URI} .*xXx(.+)xXx.*,.*$1.*
RewriteRule blah,blah,blah
I would suspect something likes this is syntactically correct, but repeated testing proves me wrong. Any help would be appreciated.