I have an apache development server with 6ish sites,
want to block url's by country
the way i'm reading it, it appears I can put an access.conf in my htdocs directory with some thing like this
<Directory /some/path/htdocs/>
order allow, deny
allow from all
deny from 10. 20. 30. etc etc
</Directory>
this will block access to sites on my server from country's (or just url's) whose urls's start with 10, 20, or 30
yes? or can do same as above only in a .htaccess in the htdocs directory?
with 6ish sites I don't want to repeat the blocks for each site, with .htaccess files in each home directory. I want to establish for the entire server
if this is possible, do I need something specific in my httpd.conf file to enable this approach?