I found on the Internet here such waters:
php_value default_charset utf-8 RewriteEngine on Options +FollowSymlinks RewriteCond %{REQUEST_FILENAME} !-d #RewriteCond %{REQUEST_FILENAME} !-f RewriteCond $1 !^(index\.php|static|vendor|images|assets|img|my|sys|robots\.txt) RewriteRule ^.*$ index.php [L,QSA] it works in all cases, but when I enter a request of the form in the address period of the browser: http://mydomain.com/country/oteli-indiji , it displays a 404 error. By typing, I realized that it gives an error precisely because of the word country , I can not understand why.
Purpose: absolutely all input requests $_SERVER["REQUEST_URI"] should be passed to index.php for further processing.
countryfile matchesRewriteCond %{REQUEST_FILENAME} !-f- Saidolim