David C. Rankin wrote:
Listmates,
A question for our web gurus (Per you listening). I have content on my server, separated into directories, that is protected by basic authorization. Nothing sensitive, kids pictures, etc. set up for family to view/download. Any time a password is required from a remote host, I force a https rewrite. However, I would like to allow access from the local lan with simple http.
How do I accomplish this? If it were bash, the logic flow would be:
if [ local lan access ]; then
allow http access
else
force https rewrite
fi
Hi David I think it's fairly straight forward - just add a RewriteCond: RewriteCond %{REMOTE_ADDR} ^192\.168\. (assuming your local network is 192.168.0.0). /Per Jessen, Zürich -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org