[ale] apache redirect based on http referer

Jim Kinney jim.kinney at gmail.com
Wed Jul 30 00:07:40 EDT 2008


Hmm. I need to _wear_ my glasses more. Good catch!

On Tue, Jul 29, 2008 at 9:28 PM, Brian Pitts <brian at polibyte.com> wrote:

> Forsaken wrote:
> > Brian Pitts wrote:
> >> RewriteCond %(HTTP_REFERER) ^http://newbb/login\.php.*$<http://newbb/login%5C.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.
>
> That was it! Apparently I need better glasses or a better font for Firefox.
>
> -Brian
> _______________________________________________
> Ale mailing list
> Ale at ale.org
> http://mail.ale.org/mailman/listinfo/ale
>



-- 
-- 
James P. Kinney III
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.ale.org/pipermail/ale/attachments/20080730/2af299b8/attachment.html 


More information about the Ale mailing list