I'm wondering if the following is possible somehow:
Make Apache ask for basic authentication when a resource is requested from the Internet and just bypass the authentication when a request originates from the local network. I found some info about the satisfy directive after reading this here but i cant make it work here the config snippet with which I try to achieve my goal:
<Directory /path/to/published/resource>
AllowOverride All
Order deny,allow
AuthType Basic
AuthName authname
AuthUserFile /path/to/authfile
Require user username
Allow from 192.168.178
Satisfy Any
</Directory>
Any suggestions why that doesn't work?