diff --git a/Apache.md b/Apache.md new file mode 100644 index 0000000..5425b44 --- /dev/null +++ b/Apache.md @@ -0,0 +1,18 @@ +# Apache + +## vhost.conf + +### Kräv inlogging för publika IP-adresser + +``` +# Require all granted +AuthType Basic +AuthUserFile "/path/to/.htpasswd" +AuthName "Protected Area" + + Require ip 192.168.0.0/16 + Require ip 127.0.0.1/32 + Require valid-user + +``` +