On 08/09/09 18:46, David C. Rankin wrote: I can't stand they way they want it to function
as a virtual host. That would be a pain.
Sure, proper configurations are sometimes very painful ;)
Options -Indexes +FollowSymLinks AllowOverride AuthConfig Options FileInfo Limit # Address rewrite for secure connection in not local <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> # Authenticate if not local
No, If you aim to determine what "local access" is by providing a regular expression that matches a certain subnet, you will D.o.S yourself sooner or later, IP based access policies are the wrong thing to do. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org