Re: [users@httpd] The Require Directives

2018-11-30 Thread Bill Tantzen
Awesome, I will try it out -- I was seriously overthinking and over-engineering this thing. In the meantime, a little mod_rewrite magic works too... Thanks a million! Bill On Thu, Nov 29, 2018 at 4:41 PM Jonathon Koyle wrote: > > You might try this, with some simple testing it seems to work... >

Re: [users@httpd] The Require Directives

2018-11-29 Thread Jonathon Koyle
You might try this, with some simple testing it seems to work... Require host usurf.usu.edu denied Require host c01622.usurf.usu.edu Require not host usurf.usu.edu Require ip 0.0.0.0/1 Require not host usurf.usu.edu Require ip 1

Re: [users@httpd] The Require Directives

2018-11-29 Thread Bill Tantzen
Sorry this is turning out to be so confusing! What I'm hoping to do, in pseudo-config would be something like this: Require not host bigdomain.com . ## nobody from the entire domain gets in! Require host buddy.bigdomain.com ## except this single client Require all granted

Re: [users@httpd] The Require Directives

2018-11-29 Thread Jonathon Koyle
So, you want to restrict access to the host to a single machine on a specific domain with a non-static IP, OR to any machine not on the domain? On Thu, Nov 29, 2018 at 12:34 PM Bill Tantzen wrote: > No that's not exactly what I meant. What I mean is something like > this -- although actually ty

Re: [users@httpd] The Require Directives

2018-11-29 Thread Bill Tantzen
No that's not exactly what I meant. What I mean is something like this -- although actually typing it seems like it can't possibly be done: Require not host xxx.com Require host ok.xxx.com I realize "not host" is not allowed here, but it maybe helps explain what I want to do: Block an enti

Re: [users@httpd] The Require Directives

2018-11-29 Thread Jonathon Koyle
You want to only allow access to a server at a specific hostname, (that is how I understand you question). One way, that would work, is something like Listen 80 # This is the default host for this port (assuming it is the first declaration for a host on this port) all server names that do n

[users@httpd] The Require Directives

2018-11-29 Thread Bill Tantzen
Experts, My environment is RHEL7 and apache 2.4.6 I am looking for the seemingly tricky combination of directives (Require, RequireAll, RequireAny...) that will allow me to deny access to an entire domain except for, say, one particular host. For instance, how do deny access to yyy.zzz.com e