I’m using a front controller which uses URLs as follows:
http://www.domain.com/index.php?action=main.Main,
where ‘main’ is the module and ‘Main’ is the action.
For URL rewrite I use this line in the htaccess:
RewriteRule ^([^/]+)\.html$ index.php?action=$1 [QSA]
This results in http://www.domain.com/main.Main.html
Now, how do I replace the dot between module and action with a slash so that the result looks like this:
http://www.domain.com/main/Main ?
Try this then: