rewriteCond "%{REQUEST_FILENAME}" "!-f" []; rewriteCond "%{REQUEST_FILENAME}" "!-d" []; rewriteRule "^(.*)$" "index.php?q=$1" [last,qsappend];