RewriteCond %{REQUEST_FILENAME} -f RewriteRule ^/?(.+) /cgi-bin/index.py?page=$1 [L,PT]