I have the following iirf rules for my web application
RewriteFilterPriority HIGH
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{QUERY_STRING} ^$
RewriteRule ^/(.*)$ /index.cfm?path=$1 [L]
RewriteRule ^/(.*)\?(.*)$ /index.cfm?path=$1&$2 [L]
Everything works, except when there is a file that exists but has a parameter. eg. http://www.domain.com/file.cfm works http://www.domain.com/file.cfm?var=foo doesn't work? it skips and redirects to index.cfm
how do i fix this?
thanks