RewriteEngine On RewriteBase /projekt01/ RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_FILENAME} !-f RewriteRule ^(.+)$ /projekt01/index.php [QSA,L]