RewriteEngine On
RewriteRule ^r\.php$ public/r.php [L,QSA]
RewriteRule ^admin/ - [L]
RewriteRule ^install/ - [L]
RewriteRule ^uploads/ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^ public/index.php [L,QSA]
