gojigeje/onlen.ga/master/.htaccess
Options +FollowSymlinks RewriteEngine on RewriteCond %{HTTP_HOST} ^www.(.*) [NC] RewriteRule ^(.*)$ http://%1/$1 [R=301,NC,L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d # RewriteRule ^[^/.]+.[^/]+$ api.php?url=$0 [L] RewriteRule ^(.*)$ api.php?url=$0 [L]
Files
![HTTP_HOST, REQUEST_FILENAME](https://www.askapache.com/s/u.askapache.com/htaccess-file/2016/github/gojigeje/onlenga-htaccess.png)