Htaccess File

joobsbox/joobsbox/master/.htaccess

DEFLATE, REQUEST_URI
Options -MultiViews
SetEnv rewrite 0

<IfModule mod_rewrite.c>
  SetEnv rewrite 1
  
  RewriteEngine On
  RewriteCond %{REQUEST_URI}  !^.*/index.php$
  RewriteCond %{REQUEST_URI}  !^.*/plugins/.*.(js|css|png|gif|jpg|mp3|wav)$
  RewriteCond %{REQUEST_URI}  !^.*/Joobsbox/Plugin/.*.(js|css|png|gif|jpg|mp3|wav)$
  RewriteCond %{REQUEST_URI}  !^.*/docs/.*$
  RewriteCond %{REQUEST_URI}  !^.*/public/(js|css)/.*$
  RewriteCond %{REQUEST_URI}  !^.*/favicon.ico$
  RewriteCond %{REQUEST_URI}  !^.*/themes/.*.(js|css|png|gif|jpg|mp3|wav)$
  RewriteCond %{REQUEST_URI}  !^.*/tests/.*$
  RewriteRule .* index.php [NC,L]
</IfModule>

<IfModule mod_deflate.c>
  SetOutputFilter DEFLATE
</IfModule>

<IfModule mod_expires.c>
  ExpiresActive On
  ExpiresByType text/html "modification plus 1 hour"
  ExpiresByType image/jpeg "now plus 1 weeks"
  ExpiresByType image/gif "now plus 1 weeks"
  ExpiresByType image/png "now plus 1 weeks"
  ExpiresByType text/css "now plus 1 weeks"
  ExpiresByType application/javascript "now plus 1 weeks"
</IfModule>
Exit mobile version