RewriteRule not working under Windows

I have problem installing Elgg under Windows/Apache. I have located the problem to one of the RewriteRules in default .htaccess:

RewriteRule ^action\/([A-Za-z\_\-\/]+)$ engine/handlers/action_handler.php?action=$1

When accessing: action/systemsettings/install page the above RewriteRule running on Windows gives only "action=systemsettings" but under my Debian installation it gives "action=systemsettings/install"

Why is that, and is there any way of fixing it?

  • I found it, It wasn't the RewriteRule. It was the default setting in php.ini

    arg_separator.input = ";&/"

    Changing it to:

    arg_separator.input = "&"

    fixed this problem.