Forum Moderators: phranque
.* forces the parser to read to the end of the URL request but then does nothing with that data. Delete the .* here. \.(png|jpe?g|gif|etc|etc)$ requests. List this condition first. Make sure the "not index.php" RewriteCond is listed next. This ensures that the -f and -d checks do not run for every request made of your server, only for those that will potentially need to be rewritten.
example.com/this/page/here is rewritten to /index.php/this/page/here where the script at /index.php gets to process /this/page/here as the path data. /index.php?vars=this/page/here but unencoded slashes are NOT valid in a query string.