View sourcecode

The following files exists in this folder. Click to view.

htaccess_flask

1 lines ASCII Unix (LF)
1
#
# 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]