How to enable mod_rewrite in xampp?

Explain the situation. Need to open a website on a local server.
The website is written in Yii2. Try to open it in xampp, by default, put the website into the htdocs folder. And you tear it to the address localhost/
But he didn't answer, it was a mistake. Because there in the root folder of the site no index.php. There is a redirect. KRC told me that you need to enable mod_rewrite in xampp itself
April 3rd 20 at 17:47
1 answer
April 3rd 20 at 17:49
Search for keyword mod_rewrite in the config, there is likely a line commented out

Find more questions by tags YiiXampp