diff options
author | Florian Steinel <fsteinel-git@github.com.flonet.net> | 2017-01-20 09:41:40 +0100 |
---|---|---|
committer | nutzer <you@domain.com> | 2017-01-20 09:41:40 +0100 |
commit | fe8a8585c38991c79f8eab1a06b9b1e529baca19 (patch) | |
tree | 30e31c2fdd1019ad76afe2bed562a46c5d72aec1 | |
parent | 06ca9a9f135de5cbf3dd30a44aab6f3922f80310 (diff) |
Apache config lines
-rw-r--r-- | images/models/README.md | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/images/models/README.md b/images/models/README.md index d2817e5..5f91183 100644 --- a/images/models/README.md +++ b/images/models/README.md @@ -30,3 +30,18 @@ mv *jpg large/ mv fronts/* /var/www/freifunk/ffki-startseite/images/models/ ``` + +Point the Webserver to this directory. +For Apache add these lines: +``` + #Router Node Pictures + Alias /images/models/ /opt/hardware/Freifunk-Router-Anleitungen/router/fronts/ + <Directory /opt/hardware/Freifunk-Router-Anleitungen/router/fronts/> + Options Indexes FollowSymLinks MultiViews + AllowOverride All + Require all granted + ExpiresByType image/png "access plus 1 week" + ExpiresByType image/jpeg "access plus 1 week" + </Directory> +``` +to the ffki-startseite config. |