Welcome to WebmasterWorld Guest from

Forum Moderators: DixonJones & mademetop

Message Too Old, No Replies

apache: filtering referrers?



1:14 pm on Mar 7, 2001 (gmt 0)

10+ Year Member


What's a good regexp to start with to filter/redirect all
queries to a dir/file, UNLESS they have my domain in the referrrer?

Needs to be put into .htaccess, system, in question is running apache 1.2

I do not want to let through everything, and block domains foo and bar.



4:28 am on Mar 9, 2001 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member

Check here [brainstorm.co.uk] for a simple chart describing regular expressions. A guide to using redirection is here [engelschall.com] and Apache's docs are here [httpd.apache.org].

Featured Threads

Hot Threads This Week

Hot Threads This Month