htaccess_flask1 lines ASCII Unix (LF) #
# This is a Flask base for rewriting all requests to the frontcontroller
# app.cgi, if the target route is not a file or a directory.
#
RewriteEngine on
# Rewrite to Flask frontcontroller
RewriteCond %{REQUEST_FILENAME} !-f
#RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule (.*) app.cgi/$1 [NC,L]