diff --git a/data/etc/apache2/conf-available/freedombox.conf b/data/etc/apache2/conf-available/freedombox.conf index 63da718dd..33d57a2a2 100644 --- a/data/etc/apache2/conf-available/freedombox.conf +++ b/data/etc/apache2/conf-available/freedombox.conf @@ -154,3 +154,12 @@ ErrorLog "|/usr/bin/systemd-cat --identifier=apache-error" # records its own timestamp. ErrorLogFormat "[%-m:%l] [pid %P:tid %{g}T] %7F: %E: [client\ %a] %M% ,\ referer\ %{Referer}i" CustomLog "|/usr/bin/systemd-cat --identifier=apache-access" vhost_combined + +## When showing an index page for a directory listing, ensure that viewport's +## width is the same as the device's width. Directory index pages generated by +## mod_autoindex are reasonably suitable for mobile devices. However, without +## the directive, mobile devices will assume the page to be not-mobile friendly +## and use a larger view port than the device size. + + IndexHeadInsert "" +