boochtek/DynamicDB/master/public/.htaccess - Htaccess File

boochtek/DynamicDB/master/public/.htaccess

# If system/maintenance.html file exists, redirect all requests there.
# NOTE: Since the page is set to noindex, make sure that we redirect to it temporarily (302); don't serve all requests with its content, or they may get removed from search engine indexes.
RewriteEngine on
RewriteCond %{DOCUMENT_ROOT}/system/maintenance.html -f
RewriteCond %{SCRIPT_FILENAME} !maintenance.html
RewriteCond %{REQUEST_URI} !.(gif|jpg|png|css)$
RewriteRule ^.*$ %{DOCUMENT_ROOT}/system/maintenance.html [R=302,L]

On Github License

Files

Download PDF of Htaccess file
DOCUMENT_ROOT, REQUEST_URI, SCRIPT_FILENAME

Comments

Apache