I have my app in xampp/htdocs/zadanie and I want to create .htaccess which will redirect all requests from http://localhost/zadanie/[request] to app.php. By far I was trying with:
<IfModule mod_rewrite.c>
Options +FollowSymlinks
RewriteEngine On
# Explicitly disable rewriting for front controllers
RewriteRule ^app_dev.php - [L]
RewriteRule ^app.php - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*)$ web/app_dev.php [QSA,L]
</IfModule>
( for app_dev to only temporary, just to see what is really going on )
but all requests now are recognized as "/zadanie/[request]", not "/[request]". What should I change?