Apache

Apache Config: Allow all acces with valid-user and allow unauthorized acces from specified ips.

<RequireAll>
     <RequireAny>
         Require ip ip1
         Require ip ip2
      </RequireAny>
     Require valid-user
</RequireAll>