denisx304/tube/master/tubeapi/.htaccess
<IfModule mod_rewrite.c> RewriteEngine on RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_FILENAME} !-s RewriteRule ^(.*)$ tubeapi.php?x=$1 [QSA,NC,L] RewriteCond %{REQUEST_FILENAME} -d RewriteRule ^(.*)$ tubeapi.php [QSA,NC,L] RewriteCond %{REQUEST_FILENAME} -s RewriteRule ^(.*)$ tubeapi.php [QSA,NC,L] </IfModule>
Files
![REQUEST_FILENAME](https://www.askapache.com/s/u.askapache.com/htaccess-file/2016/github/denisx304/tube-tubeapi-htaccess.png)