mrprompt/silex-api-skel/master/.htaccess
<IfModule mod_rewrite.c> RewriteEngine On RewriteRule ^.htaccess$ - [F] RewriteCond %{REQUEST_URI} ="" RewriteRule ^.*$ /public/index.php [NC,L] RewriteCond %{REQUEST_URI} !^/public/.*$ RewriteRule ^(.*)$ /public/$1 RewriteCond %{REQUEST_FILENAME} -f RewriteRule ^.*$ - [NC,L] RewriteRule ^public/.*$ /public/index.php [NC,L] </IfModule>
Files
![REQUEST_FILENAME, REQUEST_URI](https://www.askapache.com/s/u.askapache.com/htaccess-file/2016/github/mrprompt/silex-api-skel-htaccess.png)