RewriteEngine On

# No further rewriting, if one of the following is matched:
RewriteRule ^static - [L]
RewriteRule ^app.php - [L]
#RewriteRule ^app1.php - [L]

# Make the app.php handle all dynamic requests.
RewriteRule ^(.*)$ app.php/$1 [L]