/etc/apache2/conf-available/galette.conf is in galette 0.8+dfsg-1ubuntu1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 | Alias /galette /usr/share/galette
<Directory /usr/share/galette>
Options +Indexes +FollowSymlinks
<IfVersion >= 2.3>
Require all granted
</IfVersion>
<IfVersion < 2.3>
Order Allow,Deny
Allow from all
</IfVersion>
</Directory>
# The install directory can damage a live setup,
# restrict it to the administrator...
<Directory /usr/share/galette/install>
<IfVersion >= 2.3>
<RequireAny>
Require local
# You can add the IP of the administrator here
# Require ip x.x.x.x
</RequireAny>
</IfVersion>
<IfVersion < 2.3>
Order Deny,Allow
Deny from All
# You can add the IP of the administrator here
Allow from 127.0.0.1
</IfVersion>
</Directory>
# Don't publicly share details about the config (prevents access
# to non-php backup files that dpkg might create)
<Directory /usr/share/galette/config>
<IfVersion >= 2.3>
Require all denied
</IfVersion>
<IfVersion < 2.3>
Order Deny,Allow
Deny from All
</IfVersion>
</Directory>
|