• Hi All,

    I want to add an extra layer of security to the site and by doing some I want to setup access control via the httpd.conf file as its deeper down the system and less likely to manipulate. This is what I want to go for:

    <Directory />
    Order Deny,Allow
    Deny from all
    Options None
    AllowOverride None
    </Directory>
    <Directory /var/www/html>
    Order deny,allow
    Deny from all
    Allow from 87.82.196.251
    #allowed for click through URLS
    <Files index.php>
    Order deny,allow
    </Files>

    </Directory>
    #used for back end
    #<LocationMatch “services/|csv/|includes/Scrapers/”>
    As You can see I will restrct everything under an IP adress and the rest will be restricted from the outside world.

    Is there a master list of files / folders that need to excluded from restrictions?

    Cheers,

    Stu

Viewing 1 replies (of 1 total)
  • I am also looking to restrict and unrestrict via Httpd.conf is there a document that best explains the way to restrict browse acces and to allow browse access.

Viewing 1 replies (of 1 total)
  • The topic ‘WordPress File to Restrict with Apache httpd.conf’ is closed to new replies.