• Resolved cododigital

    (@cododigital)


    Hello,

    I appreciate my setup may not be normal, so the installation instructions should work for most people.

    However, in my VirtualHost config I have set AllowOverride None which means the .htaccess file is not being read. I have added the generated .htaccess file within <Directory /var/www/html></Directory>, however the site is really slow (circa 2 seconds).

    I have resolved this by adding the following to the VirtualHost config:

    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteCond %{REQUEST_METHOD} !=POST
    RewriteCond %{QUERY_STRING} =””
    RewriteCond %{HTTP_COOKIE} !(comment_author|wp\-postpass|w3tc_logged_out|wordpress_logged_in|wptouch_switch_toggle) [NC]
    RewriteCond %{REQUEST_URI} \/$
    RewriteCond “%{DOCUMENT_ROOT}/wp-content/cache/speed-booster/%{HTTP_HOST}/%{REQUEST_URI}/index.html” -f
    RewriteRule .* “/wp-content/cache/speed-booster/%{HTTP_HOST}/%{REQUEST_URI}/index.html” [L]
    </IfModule>

    I am unsure if this is the best approach and I’m confused why I couldn’t see something similar to this in the .htaccess file.

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Plugin Author Optimocha

    (@optimocha)

    Hi @cododigital,

    Thanks for the suggestion! We will definitely consider including these VirtualHost config rules in one of our future versions.

Viewing 1 replies (of 1 total)
  • The topic ‘Installation lack of instructions’ is closed to new replies.