WordPress.org

Ready to get started?Download WordPress

Forums

Cachify
Cachify HDD create files but does not deliver (1 post)

  1. mseele
    Member
    Posted 1 year ago #

    Hi,

    i've installed cachify and want to use the HDD mode. Cachify creates the index.html and index.html.gz files in the cache folder but does not deliver this files. What I#m doing wrong?
    Here are the details of my wp installation:
    I have the installation in a subfolder called "wp". Here are my .htaccess contents:

    #######################################################################
    #     Diese .htaccess wurde vom STRATO-Webservermanager erstellt      #
    #######################################################################
    
    Options -Indexes
    
    AddType application/x-httpd-php3 .php3
    
    AddType application/x-httpd-php43 .php4
    
    AddType application/x-httpd-php5 .php .php5
    
    # BEGINN CACHIFY
    <IfModule mod_rewrite.c>
      # ENGINE ON
      RewriteEngine On
    
      # GZIP FILE
      <IfModule mod_mime.c>
        RewriteCond %{REQUEST_URI} /$
        RewriteCond %{REQUEST_URI} !^/wp-admin/.*
        RewriteCond %{REQUEST_METHOD} !=POST
        RewriteCond %{QUERY_STRING} =""
        RewriteCond %{HTTP_COOKIE} !(wp-postpass|wordpress_logged_in|comment_author)_
        RewriteCond %{HTTP:Accept-Encoding} gzip
        RewriteCond $_SERVER['DOCUMENT_ROOT']/wp/wp-content/cache/cachify/%{HTTP_HOST}%{REQUEST_URI}/index.html.gz -f
        RewriteRule ^(.*) /wp/wp-content/cache/cachify/%{HTTP_HOST}/$1/index.html.gz [L]
    
        AddType text/html .gz
        AddEncoding gzip .gz
      </IfModule>
    
      # HTML FILE
      RewriteCond %{REQUEST_URI} /$
      RewriteCond %{REQUEST_URI} !^/wp-admin/.*
      RewriteCond %{REQUEST_METHOD} !=POST
      RewriteCond %{QUERY_STRING} =""
      RewriteCond %{HTTP_COOKIE} !(wp-postpass|wordpress_logged_in|comment_author)_
      RewriteCond $_SERVER['DOCUMENT_ROOT']/wp/wp-content/cache/cachify/%{HTTP_HOST}%{REQUEST_URI}/index.html -f
      RewriteRule ^(.*) /wp/wp-content/cache/cachify/%{HTTP_HOST}/$1/index.html [L]
    </IfModule>
    # END CACHIFY
    
    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /wp/
    RewriteRule ^index\.php$ - [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /wp/index.php [L]
    </IfModule>

    The site is hosted at strato so i have to use $_SERVER['DOCUMENT_ROOT'] for document root.

    Do you have any idea what I'm doing wrong? Is there any posibility to debug or log what cachify does?

    Thank you,
    Michael

    http://wordpress.org/extend/plugins/cachify/

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic