Thanks for your reply.
Using the referrer, and I have 30 specific domains I want to allow to access a particular
page, but any other referrer domain I do not want to allow to access that page, and i want to redirect access from those disallowed referrers to another specific page.
So can I put all 30 allowed domains in a "RewriteCond" statement or is there some better way to do that?
From: Frank Gingras <thumbs@xxxxxxxxxx>
Sent: Friday, December 16, 2022 4:33 PM To: users@xxxxxxxxxxxxxxxx <users@xxxxxxxxxxxxxxxx> Subject: Re: Controlling access to web site based on domain name You're referring to controlling access via the referrer, which is trivial to spoof; I strongly recommend not using that approach.
The other concept to understand here is that you can require the traffic to match a certain rDNS value.
If you still want to match the referrer, you can do so with <If, expr or a RewriteCond.
On Fri, Dec 16, 2022 at 4:28 PM Rose, John B <jbrose@xxxxxxx.invalid> wrote:
|