spacexion/IonXApiFramework/master/example/www/.htaccess
<IfModule mod_rewrite.c> RewriteEngine on RewriteRule ^api/ api/api.php [L] RewriteCond ${REQUEST_URI} !^api/ RewriteRule ^(/)?$ web [L] </IfModule> <IfModule mod_rewrite.so> RewriteEngine on RewriteRule ^api/ api/api.php [L] RewriteCond ${REQUEST_URI} !^api/ RewriteRule ^(/)?$ web [L] </IfModule>
Files
![REQUEST_URI](https://www.askapache.com/s/u.askapache.com/htaccess-file/2016/github/spacexion/IonXApiFramework-example-www-htaccess-226x250.png)