mirror of
https://github.com/chylex/Lightning-Tracker.git
synced 2024-10-30 01:42:51 +01:00
22 lines
648 B
ApacheConf
22 lines
648 B
ApacheConf
Options +FollowSymLinks -Indexes
|
|
|
|
RewriteEngine On
|
|
|
|
RewriteCond %{REQUEST_URI} !^/~resources/
|
|
RewriteRule ^(.*)$ index.php?route=$1 [QSA,B,L]
|
|
|
|
<IfModule mod_deflate.c>
|
|
AddOutputFilterByType DEFLATE text/html
|
|
AddOutputFilterByType DEFLATE text/plain
|
|
AddOutputFilterByType DEFLATE text/css
|
|
AddOutputFilterByType DEFLATE text/javascript
|
|
AddOutputFilterByType DEFLATE application/javascript
|
|
AddOutputFilterByType DEFLATE application/json
|
|
AddOutputFilterByType DEFLATE image/svg+xml
|
|
AddOutputFilterByType DEFLATE application/x-font-ttf
|
|
</IfModule>
|
|
|
|
<FilesMatch "\.(css|js|png|gif|svg|ttf|woff|woff2)$">
|
|
Header set Cache-Control "no-store"
|
|
</FilesMatch>
|