RewriteEngine On

# Voorkom directory listing
Options -Indexes

# Redirect alle requests naar index.php (behalve bestaande bestanden)
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php?url=$1 [QSA,L]

# PHP instellingen
php_flag display_errors On
php_value upload_max_filesize 10M
php_value post_max_size 10M

