RewriteEngine on
# if a directory or a file exists, use it directly
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
# otherwise forward it to index.php
RewriteRule . index.php
and this portion in “sites-available” directory: (I’m talking about Linux, maybe there are differences in Windows)
Alias /myProject /home/user/sites/myProject
<Directory /home/user/sites/myProject>
Options Indexes FollowSymLinks MultiViews
AllowOverride All
Order allow,deny
allow from all
</Directory>
it’s also useful if you copy & paste here the output in web server log, for example