# Social Media Manager (/social)

DirectoryIndex index.php
Options -Indexes

# Never serve the config or the sample.
<FilesMatch "^(config|config\.sample)\.php$">
    <IfModule mod_authz_core.c>
        Require all denied
    </IfModule>
    <IfModule !mod_authz_core.c>
        Order allow,deny
        Deny from all
    </IfModule>
</FilesMatch>

# Send every visitor to https, so sign-in always works and passwords stay encrypted.
<IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteCond %{HTTPS} !=on
    RewriteRule ^ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
</IfModule>
