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
Brian beat me to it. Set up virtual hosts with the desired domain listed and the default (what someone will get if they access via IP) goes to your desired "wrong way to get here" page. Jim -Original Message- From: "Rose, John B" Sent: Friday, December 16, 2022 13:00 To: "users@htt

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