I am trying to work out how to limit access to the site for all IPs, save one
but, at the same time, to allow full access to one dir and its subdirs.
Here’s what I am after (more like a dummy example):
<Directory !"/dir-to-limit-access">
Order Deny,Allow
Deny from all
allow from ***.***.*.*
</Directory>
and , additionally – the rule for a specific dir and its sub-directories:
<Directory "/dir-to-grant-access-to">
Order Deny,Allow
allow from all
</Directory>
ideally I need this in one block.
Thanks in advance!