• Welcome to the Chevereto User Community!

    Here, users from all over the world come together to learn, share, and collaborate on everything related to Chevereto. It's a place to exchange ideas, ask questions, and help improve the software.

    Please keep in mind:

    • This community is user-driven. Always be polite and respectful to others.
    • Support development by purchasing a Chevereto license, which also gives you priority support.
    • Go further by joining the Community Subscription for even faster response times and to help sustain this space
  • Chevereto Support CLST

    Support response

    Support checklist

    • Got a Something went wrong message? Read this guide and provide the actual error. Do not skip this.
    • Confirm that the server meets the System Requirements
    • Check for any available Hotfix - your issue could be already reported/fixed
    • Read documentation - It will be required to Debug and understand Errors for a faster support response

Tweak .htaccess

buzzdee

Chevereto Member
Hi,

I tried to speed up my website using .htaccess tweaks, as e.g. described on Googles PageSpeed site, but...
none of my entries worked :-(

My provider told me that adding
Code:
AddOutputFilterByType DEFLATE text/plain
AddOutputFilterByType DEFLATE text/html
AddOutputFilterByType DEFLATE text/xml 
... and so on...
will do the stuff for compressing file-types, but it doesnt work. Maybe there's a conflict with an entry of my htaccess ? I don't know...

Even the tweaks for server caching, like
Code:
ExpiresActive On
ExpiresByType text/css "access plus 1 month"
ExpiresByType text/javascript "access plus 1 month"
...and so on...
don't work.

So, maybe I have a big problem in my htaccess? And to be honest, I don't exactly understand these entries - maybe you could describe just in one sentence each, what these entries in my .htaccess exactly mean?
Code:
# Disable server signature
ServerSignature Off

# Disable directory listing (-indexes), Multiviews (-MultiViews) and enable Follow system links (+FollowSymLinks)
Options -Indexes
Options -MultiViews
Options +FollowSymLinks

<IfModule mod_rewrite.c>

    RewriteEngine On
   
    # If you have problems with the rewrite rules remove the "#" from the following RewriteBase line
    # You will also have to change the path to reflect the path to your Chevereto installation
    # If you are using alias is most likely that you will need this.
    #RewriteBase /

        RewriteCond %{HTTP_HOST} !^www.buzzpics.de
        RewriteRule ^(.*)$ http://www.buzzpics.de/$1 [L,R=301]
   
    # 404 images
    # If you want to have your own fancy "image not found" image remove the "#" from RewriteCond and RewriteRule lines
    # Make sure to apply the correct paths to reflect your current installation
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteRule images/.+\.(gif|jpe?g|png|bmp) - [NC,L,R=404]
    #RewriteRule images/.+\.(gif|jpe?g|png|bmp) content/system/404.gif [NC,L]

    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteCond %{REQUEST_URI} !\.(css|js|html|htm|rtf|rtx|svg|svgz|txt|xsd|xsl|xml|asf|asx|wax|wmv|wmx|avi|bmp|class|divx|doc|docx|exe|gif|gz|gzip|ico|jpe?g|jpe|mdb|mid|midi|mov|qt|mp3|m4a|mp4|m4v|mpeg|mpg|mpe|mpp|odb|odc|odf|odg|odp|ods|odt|ogg|pdf|png|pot|pps|ppt|pptx|ra|ram|swf|tar|tif|tiff|wav|wma|wri|xla|xls|xlsx|xlt|xlw|zip)$ [NC]
    RewriteRule . index.php [L]
   
   
</IfModule>


Could you please give me a hint, what I can do? What entries do you have in your htaccess file ?
 
Also, don't believe 100% in the pagespeed test. Most false positives are in the render block javascript section, you simply can't trust that thing.
 
Thanks Rodolfo, I know that there are countless guides... my provider told me that mod_deflated is installed and the entry mentioned above will work. But it does not. So, I tried to find the error in the existing entries, as I thought there may be a conflict.
 
Well, if it helps you need to place those declarations before the RewriteCond statements
 
Back
Top