October 11, 2005

https

jf apache-manual: det er truleg noko slikt me vil gjer:

# Force clients from the Internet to use HTTPS
RewriteEngine on
RewriteCond %{REMOTE_ADDR} !^192\.168\.1\.[0-9]+$
RewriteCond %{HTTPS} !=on
RewriteRule .* - [F]

i tillegg ein condition for dei konkrete stiane.

No comments: