RewriteEngine On

# Server converts URL to pathname for the file or directory, stored in REQUEST_FILENAME 
# If the pathname does not exist the request is passed to index.php
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d

RewriteRule ^/?werk(/.*)?$ %{DOCUMENT_ROOT}/fpk/index.php [L]
RewriteRule ^/*$ %{DOCUMENT_ROOT}/fpk/index.php [L]

RewriteRule .*/favicon\.ico$ /favicon.ico [L]
