Re: [users@httpd] Controlling access to web site based on domain name

2022-12-22 Thread Frank Gingras
> *Sent:* Friday, December 16, 2022 4:33 PM > *To:* users@httpd.apache.org > *Subject:* Re: [users@httpd] 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 us

Re: [users@httpd] Controlling access to web site based on domain name

2022-12-22 Thread Rose, John B
all 30 allowed domains in a "RewriteCond" statement or is there some better way to do that? From: Frank Gingras Sent: Friday, December 16, 2022 4:33 PM To: users@httpd.apache.org Subject: Re: [users@httpd] Controlling access to web site based on d

Re: [users@httpd] Controlling access to web site based on domain name

2022-12-16 Thread Rose, John B
.com>> Sent: Friday, December 16, 2022 4:08 PM To: jbr...@utk.edu.invalid Cc: users@httpd.apache.org<mailto:users@httpd.apache.org> mailto:users@httpd.apache.org>> Subject: Re: [users@httpd] Controlling access to web site based on domain name You don't often get email from

Re: [users@httpd] Controlling access to web site based on domain name

2022-12-16 Thread Frank Gingras
y domain not explicitly listed in htaccess file will get redirected. > > > -- > *From:* Brian Wolfe > *Sent:* Friday, December 16, 2022 4:08 PM > *To:* jbr...@utk.edu.invalid > *Cc:* users@httpd.apache.org > *Subject:* Re: [users@httpd] Controlli

Re: [users@httpd] Controlling access to web site based on domain name

2022-12-16 Thread Rose, John B
ected. From: Brian Wolfe Sent: Friday, December 16, 2022 4:08 PM To: jbr...@utk.edu.invalid Cc: users@httpd.apache.org Subject: Re: [users@httpd] Controlling access to web site based on domain name You don't often get email from wolfebrian2...@gmail.com. Learn why this is important<h

RE: [users@httpd] Controlling access to web site based on domain name

2022-12-16 Thread j...@k6ccc.org
022 13:00 To: "users@httpd.apache.org" Subject: [users@httpd] Controlling access to web site based on domain name 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 u

Re: [users@httpd] Controlling access to web site based on domain name

2022-12-16 Thread Brian Wolfe
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 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 parti

[users@httpd] Controlling access to web site based on domain name

2022-12-16 Thread Rose, John B
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 th