[thelist] regex: can't have enough fun, can we

Erik Mattheis gozz at gozz.com
Wed Mar 5 12:42:04 CST 2003


For a mod rewrite, I would like to match all referrers that are not the
same as the host, except or all eBay sites.

So something like

RewriteCond Host: (.+)
RewriteCond referer: (?!.*\1.*).+

uh, and there I'm stuck without something to look at as a similar
example, which I can't find.

The thing is it can't be fooled by something like
http://cgi.ebay.com@http://TheActualReferringSite.com

-----------------------
Erik Mattheis
GoZz Digital
<http://goZz.com/>
Flash and ColdFusion Development
Minneapolis, MN
-----------------------




More information about the thelist mailing list