Re: Apache - LAN - Internet - Auth
Hallo Raffael.
On Sun, Mar 21, 2004 at 02:25:50PM +0100, Raffael Rock wrote:
> Ist es möglich dem Apache beizubringen, dass man auf die Startseite
> im internen LAN ohne Login und Passwort Zugriff hat, und wiederum
> Apache merkt, wenn Zugriff übers Internet erfolgt, Login und Pass
> verlangt wird?
Ja, geht mit "Satisfy any". Steht sogar in der Apache-FAQ:
How do I set up Apache to allow access to certain documents only
if a site is either a local site or the user supplies a password
and username?
http://httpd.apache.org/docs/misc/FAQ-G.html#remote-auth-only
Anstatt von "Allow from .domain.com" kannst Du da auch IPs, (mehrere)
Rechnernamen oder "Allow from 172.16.0.0/24" angeben.
Tschuess,
Sebastian
Reply to: