Per Jessen wrote:
Per Jessen wrote:
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).
That should have been
RewriteCond %{REMOTE_ADDR} !^192\.168\.
/Per Jessen, Zürich
Thanks Christian, Per, You guys are both geniuses. Worked like a charm: <IfModule mod_rewrite.c> RewriteEngine On RewriteBase / RewriteCond %{REMOTE_ADDR} !^192\.168\.6\. RewriteCond %{HTTPS} !=on RewriteRule .* https://%{SERVER_NAME}%{REQUEST_URI} [R,L] </IfModule> -- David C. Rankin, J.D., P.E. Rankin Law Firm, PLLC 510 Ochiltree Street Nacogdoches, Texas 75961 Telephone: (936) 715-9333 Facsimile: (936) 715-9339 www.rankinlawfirm.com -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org