lucy24 - 7:46 pm on May 15, 2013 (gmt 0)
Would this block mobile devices if I specified the host and ip?
Do you mean mobiles as such? No, not unless you also had something about user-agent in there. Otherwise it would depend on whether the mobile is connecting through an ordinary ISP, or via a cell-phone service. I don't think there's any way to tell whether a connection is through WiFi or through a physical line, except indirectly by looking at the UA.
There's a whole family of authz modules. mod_authz_host is only one of them.
The "Require" directive can be used with environmental variables. And since mod_setenvif can look at just about any aspect of the request, this in turn means you can set just about any rules you like. So work from the other end: First decide exactly what you want to do and put it in plain English. Once you've got that far, translating it into apache should be trivial.
And incidentally, what are we doing here? Isn't this an Apache question?