[ale] apache redirect based on http referer
Forsaken
forsaken at targaryen.us
Tue Jul 29 21:06:11 EDT 2008
Brian Pitts wrote:
> RewriteCond %(HTTP_REFERER) ^http://newbb/login\.php.*$
> RewriteRule ^/index\.php$ viewforum.php?f=2 [R]
>
Just out of curiosity, is this a direct copy/paste of what's in your
config/.htaccess? If so, it might just be a syntax error. I'm pretty
certain that it should be {HTTP_REFERER} (curly braces), at least I've
never tried it with parentheses or seen it documented that way. That's
the only thing I can see wrong with it offhand, though I'm not so good
with Rewrite rules from scratch, I keep all that crap documented in the
wiki at work.
You did spell Referrer the apache way though! That's the other common
mistake I see people making :)
More information about the Ale
mailing list