| Welcome to WebmasterWorld Guest from 188.8.131.52 |
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
|Become a Pro Member|
|apache: filtering referrers?|
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.
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].
All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved