Apache ModRewrite Problem
Ok, here’s a perplexing one.
If (cookie does not exist) AND (cache file exists) THEN redirect user.
[code]
RewriteCond %{HTTP_COOKIE} !^.*cookiename.*$ [NC]
RewriteCond %{REQUEST_URI} ^/?original/page/
RewriteCond -s other/page/index.html
RewriteRule .* other/page/index.html [L]
[/code]
Result: 404, file (/original/page/) does not exist (note that /original/page is itself a redir).
So … what am I doing wrong?
