I have the following code:
RewriteEngine on
RewriteRule ^example/? test.php
When I hit http://www.example.com/example I gives me the following:
The requested URL /m/f/example.com/public/test.php was not found on this server.
I have checked that the module is installed and it seems to be doing something, but won’t display the file correctly. Public is where all the files of the site are and the test.php is there as well.
You need a RewriteBase.
Add the line: