Apache authentication from SOME addreses?
This seems like it could be a FAQ, but I haven't found any answers:
I need to enable "basic" http authentication, but only from clients not
belonging to a certain IP range. The idea is to enable access to some
content from an internal network without authentication but to require
it if the client is external.
I tried making a simple script for mod_auth_external but even enabling
the "AuthType basic" config directive forces authentication...
Can this be done?
|