Re: Controlling access to web site based on domain name

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Have you looked into virtual hosts configurations?

https://httpd.apache.org/docs/2.4/vhosts/examples.html

On Fri, Dec 16, 2022 at 4:01 PM Rose, John B <jbrose@xxxxxxx.invalid> wrote:
We would like to control access to a web site based on a listed domain and redirect any accesses from domains not
listed to a particular web page.

We need to be able to use the domain names and not IP addresses.

Is this something we should be able to do within .htaccess and using Rewrite for the redirect or do we need to use something else?

Thanks




--
Thanks,
Brian Wolfe
https://www.linkedin.com/in/brian-wolfe-3136425a/


[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux