Htaccess File

danmichaelo/digimus-commons/master/static/.htaccess

HTTPS, REQUEST_FILENAME, static
RewriteEngine On

#RewriteCond %{HTTPS} off
#RewriteRule (.*) https://tools.wmflabs.org/digimus/$1 [R=301,L]

# Don't interfere with static files
RewriteCond %{REQUEST_FILENAME} -d [OR]
RewriteCond %{REQUEST_FILENAME} -f
RewriteRule . - [L]

RewriteRule ^(.*)$ /digitaltmuseum/application.py/$1 [L]
Exit mobile version