#listing 20.6 Apache rewrite directives to map path components to GET query values RewriteEngine on RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^(.*)./(.*)$ /products/index.php?productID=$2 [pt]