Answer the question
In order to leave comments, you need to log in
How to properly convert .htaccess rules?
Hello, the question is of course stupid and banal, but unfortunately I did not find a working solution.
There is a .htaccess file with the following content:
Options -Indexes
RewriteEngine on
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php?action=$1 [L,QSA]
Answer the question
In order to leave comments, you need to log in
1. https://nginx.org/ru/docs/http/ngx_http_rewrite_mo...
2. https://gist.github.com/carlessanagustin/9509d0d31...
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question