• Hi all!

    Please help.

    I can not get the Simply Static plugin workable when I have IP filtering in .htacces with

    <RequireAny>
    <RequireAll>
    Require ip “and here i Place my IP’s that have acces”
    </RequireAll>
    </RequireAny>

    The require code works, but the Simply Static now does not. When I delete this code, or uncomment it, the plugin DOES work.

    Please help to fix this.

Viewing 5 replies - 1 through 5 (of 5 total)
  • Hello timoverhoofstad,

    We’ve run into this previously. Try adding a Require ip 127.0.0.1. Simply Static works by making web requests to the server it’s running on, so the server needs to be able to accept requests from itself.

    Best,
    Scott

    Thread Starter timoverhoofstad

    (@timoverhoofstad)

    HI Scott,

    Thanks for your reply.
    Unfortunateley that IP is already in it as you can see below, but it still does not work.

    <RequireAny>
    <RequireAll>
    Require ip 127.0.0.1 188.201.89.66 91.220.21.0/24 217.123.145.109 91.225.166.33
    </RequireAll>
    </RequireAny>

    Hi timoverhoofstad,

    Sorry to hear that didn’t work. It looks like one other option might be to use Require local instead of Require ip 127.0.0.1 — might be worth a try.

    http://httpd.apache.org/docs/2.4/en/mod/mod_authz_host.html

    Scott

    Thread Starter timoverhoofstad

    (@timoverhoofstad)

    I have tried that as well but it still does not work. I even checked the plugin code to force the IP it uses to show in the backend and added that IP to the .Htacces as an allow or require as well but it still does not work.

    Please help me

    Hi timoverhoofstad,

    That’s really perplexing. How were you setting up the Require local?

    Did it look like this?

    <RequireAny>
    Require local
    Require ip 188.201.89.66 91.220.21.0/24 217.123.145.109 91.225.166.33
    </RequireAny>

    Note that if you used RequireAll instead of RequireAny, it many have ignored the Require local portion.

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Plugin does not work with in Ht Acces’ is closed to new replies.