# Quiskor - Apache Configuration

# Prevent directory browsing
Options -Indexes

# Protect sensitive directories
RedirectMatch 403 /includes/
RedirectMatch 403 /sql/

# Protect uploads from PHP execution
<Directory "^.*uploads.*">
    <FilesMatch "\.(php|phtml|php3|php4|php5|php7|phps)$">
        Order Deny,Allow
        Deny from all
    </FilesMatch>
</Directory>

# Ensure UTF-8 encoding
AddDefaultCharset UTF-8

# Enable session via PHP
php_value session.cookie_httponly 1
php_value session.use_strict_mode 1
