Forum Moderators: phranque
RewriteCond %{HTTP_REFERER}!^http://babel\.altavista\.com/.*www\.mydomain\.net
RewriteCond %{HTTP_REFERER}!^http://babelfish\.altavista.com/.*www\.mydomain\.net
...be combined into this?
RewriteCond %{HTTP_REFERER}!^http://babel.\.altavista\.com/.*www\.mydomain\.net
...or should it be writtenthis way?
RewriteCond %{HTTP_REFERER}!^http://babel(fish)\.altavista\.com/.*www\.mydomain\.net
Thanks
RewriteCond %{HTTP_REFERER} !^http://babel(fish)?\.altavista\.com/.*www\.mydomain\.net
The "?" makes the preceding character or group (bounded by parentheses) optional.
Ref: [etext.lib.virginia.edu...]
Jim
While we're on the subject (he he) have you ever seen AV's translator referral written as "babel"? Because all the referrers I see are "babelfish"
So unless both really do exist, I might just go with the second one anyway.
Thanks.
<added> works fine, might as well not try to fix it anymore ;)