I want to redirect all requests for NOT(main.php) to handelrequest.php?page=[page]
So it must be something like:
RewriteRule !(main.php) handlerequest.php?page=$1
or
RedirectMatch !(main.php) handlerequest.php?page=$1
but it seems, that those modules haven't negation at all...
May be it is possible to combine it. Some thing like:
RewriteRule (main.php\?.*) $1
RewriteRule (*) handlerequest.php?page=$1
If not main.php, else for all others the second rule become active.
Is there some solution?
Thank you for ahead.