Support » Plugin: Cachify » Htaccess rules HDD cache and HTTPS only

  • Hello,

    I’m using Cachify with HDD and HTTPS only.

    I see on your wiki the htaccess rules for htpps only, we have to add htpps- :
    /wp-content/cache/cachify/https-%{HTTP_HOST}%{REQUEST_URI}index.html

    But there is 4 line with this code :
    # GZIP FILE
    /wp-content/cache/cachify/%{HTTP_HOST}%{REQUEST_URI}index.html.gz -f
    /wp-content/cache/cachify/%{HTTP_HOST}%{REQUEST_URI}index.html.gz [L]
    # HTML FILE
    /wp-content/cache/cachify/%{HTTP_HOST}%{REQUEST_URI}index.html -f
    /wp-content/cache/cachify/%{HTTP_HOST}%{REQUEST_URI}index.html [L]

    Do I have to add the https- to all the 4 line ?

    Thanks for your help, and for this great plugins.

    • This topic was modified 2 years, 11 months ago by wplike75.
Viewing 4 replies - 1 through 4 (of 4 total)
  • Hi @wplike75,

    Yes, you should add “https-” to all four instances.

    Cheers,
    Česlav

    Hello Chesio,

    thank you for your answer 🙂

    Did you know how can I block stupid guys who go direct to load articles in my cache folder (/wp-content/cache/cachify/https-mywebsite.com/xxxxx.html) to bypass my rate limiting plugins to ddos my website ?

    Best regards.

    • This reply was modified 2 years, 10 months ago by wplike75.

    Hi,

    I’m sorry, but the only solution I can think of is to rename the cache directory to something random. But you would have to edit both .htaccess and plugin file(s) to make it work…

    All the best,
    Ch.

    Chesio,

    thank you very much for this good idea ! 🙂

    Best regards.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Htaccess rules HDD cache and HTTPS only’ is closed to new replies.