RewriteEngine On
RewriteRule ^app(/.*)?$ app/index.php [QSA,L]

