• Resolved kertres

    (@kertres)


    Hi!

    I’m at this page about the Siteground WAF installation.

    In there it says:

      Go to your site’s cPanel, and click the PHP Variables Manager icon

      Click the link that says “public_html”

      Enter “auto_prepend_file” as the variable name, click the “Add” button, and then enter the path to wordfence-waf.php

      Turn on the checkbox “Apply changes to all sub-directories” and click Save.

    The thing is this: I have a primary domain (which its folder is the public_html), and in the public_html is the rest of the domains (folders); one of them is afrasin.org.

    When it says “Turn on the checkbox “Apply changes to all sub-directories”” it makes me stop and think, why would I apply changes to all sub-directories in the public_html when I have all domains in there?

    This means that it would apply auto_prepend_file = ‘/home/hotelesm/public_html/afrasin.org/wordfence-waf.php’ to all my other domains (site | because they are the sub-directories of the public_html).

    Wouldn’t not be the right thing to do, to put that auto_prepend_file in the afrasin.org folder and Apply to all its sub-directories?

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

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Where to configure php.ini when many domains’ is closed to new replies.