I have edited the .htaccess file in CodeIgniter and applied a rule; it as expected working in a web environment setup using WampServer but fails when using Laragon.

The problem may be with the Laragon environment but I don’t know how to fix it.

How can I make it work in a Laragon environment?