Blob Blame History Raw
# apache2 configuration for @name@

<IfModule mod_alias.c>
    Alias /@name@ @apache_datadir@/@name@
</IfModule>

<Directory @apache_datadir@/@name@>
    DirectoryIndex adminer.php
    Options -Indexes +FollowSymLinks
    AllowOverride None

    <IfVersion < 2.4>
        Order allow,deny
        Allow from all
    </IfVersion>
    <IfVersion >= 2.4>
        <IfModule !mod_access_compat.c>
            Require all granted
        </IfModule>
        <IfModule mod_access_compat.c>
            Order allow,deny
            Allow from all
        </IfModule>
    </IfVersion>

</Directory>

<Directory @apache_datadir@/@name@/designs>
    Options -FollowSymLinks
    AllowOverride None

    <IfVersion < 2.4>
        Order deny,allow
        Deny from all
    </IfVersion>
    <IfVersion >= 2.4>
        <IfModule !mod_access_compat.c>
            Require all denied
        </IfModule>
        <IfModule mod_access_compat.c>
            Order deny,allow
            Deny from all
        </IfModule>
    </IfVersion>

</Directory>