HotChalk/canvas-lms/master/public/.htaccess - Htaccess File

HotChalk/canvas-lms/master/public/.htaccess

<IfModule mod_deflate.c>
  AddOutputFilterByType DEFLATE text/text text/html text/plain text/xml text/css application/x-javascript application/javascript text/javascript application/json
</IfModule>

# LMS-1155: This is temporary, remove as soon as CUP updates configuration
<IfModule mod_rewrite.c>
  RewriteEngine On
  RewriteCond %{HTTP_HOST} hotchalklearn.com$ [NC]
  RewriteRule ^(.*)$ https://hotchalkember.com/$1 [L,R=301]
  RewriteCond %{QUERY_STRING} !account_id=
  RewriteRule ^login/hmac     login/hmac?account_id=1 [QSA]
  RewriteRule ^login2     login/canvas?direct=1 [QSA]
</IfModule>

On Github License

Files

Download PDF of Htaccess file
DEFLATE, HTTP_HOST, QUERY_STRING

Comments

Apache