Htaccess File

kevmo314/canigraduate.uchicago.edu/master/.htaccess

DEFLATE, REQUEST_FILENAME
AddType application/json .json
<IfModule mod_deflate.c>
  AddOutputFilterByType DEFLATE application/json
</IfModule>
RewriteEngine on
RewriteCond %{REQUEST_FILENAME} -s [OR]
RewriteCond %{REQUEST_FILENAME} -l [OR]
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^.*$ - [NC,L]
RewriteRule ^(.*) /index.php [NC,L]
<IfModule mod_headers.c>
  Header set X-Powered-By "Fishbein Technologies"
  Header set Access-Control-Allow-Origin "*"
</IfModule>
<IfModule mod_expires.c>
  ExpiresActive on
  ExpiresByType application/json "access plus 3 month"
  ExpiresByType text/javascript "access plus 1 year"
</IfModule>
Exit mobile version