Here users from all over the world gather around to learn the latest about Chevereto and contribute with ideas to improve the software.
Please keep in mind:
ServerSignature Off
Options -Indexes -MultiViews
Options +FollowSymLinks
RewriteEngine On
RewriteRule ^api$ api.php [L]
RewriteRule ^admin/(.*) admin/index.php [L]
RewriteRule ^images/(\w*\.)(jpg|png|gif)$ images/old/$1$2 [L] #legacy images
RewriteRule ^images/thumbs/(\w*\.)(jpg|png|gif)$ images/old/$1th.$2 [L] #legacy thumbs
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . index.php [L]
ErrorDocument 400 default
ErrorDocument 401 default
ErrorDocument 403 default
ErrorDocument 404 default
ErrorDocument 500 default
##Begin Compression Opts
<ifModule mod_deflate.c>
<filesMatch "\.(js|css|html|php|jpg|jprg|bmp|png|gif|woff|svg|ico)$">
SetOutputFilter DEFLATE
</filesMatch>
</ifModule>
<IfModule mod_expires.c>
ExpiresActive On
ExpiresByType image/x-icon "access plus 14 days"
ExpiresByType image/jpg "access plus 14 days"
ExpiresByType image/png "access plus 14 days"
ExpiresByType image/gif "access plus 14 days"
ExpiresByType image/svg+xml "access plus 14 days"
ExpiresByType image/jpeg "access plus 14 days"
ExpiresByType image/bmp "access plus 14 days"
ExpiresByType application/x-font-woff "access plus 14 days"
ExpiresByType text/css "access plus 1 week"
ExpiresByType application/x-shockwave-flash "access 1 month"
ExpiresByType text/javascript "access plus 1 week 6 hours"
ExpiresByType application/x-javascript "access plus 1 week 6 hours"
ExpiresByType application/javascript "access plus 1 week 6 hours"
</IfModule>
<IfModule mod_headers.c>
Header unset ETag
</IfModule>
FileETag None
##End Compression Opts