I need a request like:
www.mydomain.com/books/catalog.html?param1=abc¶m2=123param3=etc
to internally rewrite so content gets served from:
www.mydomain.com/index.php?page=books/catalog.html¶m1=abc¶m2=123¶m3=etc
Put this code in your DOCUMENT_ROOT/.htaccess file:
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.+)$ /index.php?page=$1 [L,QSA]