IP protect ISPconfig 3 web admin

Discussion in 'General' started by Norman, Mar 31, 2015.

  1. Norman

    Norman Member HowtoForge Supporter

    Hi

    So I'm just setting up some non public hardened ISPconfig 3 installations.
    What's the recommended way to order deny, allow access to the ISPconfig interface?
    In /etc/apache2/sites-enabled/000-ispconfig.vhost
    Edit :
    <Directory /usr/local/ispconfig/interface/web>
    # php_admin_value open_basedir "/usr/local/ispconfig/interface:/usr/share:/tmp"
    Options +FollowSymLinks
    AllowOverride None
    Order allow,deny
    Allow from all
    php_value magic_quotes_gpc 0
    </Directory>

    and change it to the IPs I want to allow?

    Or anyother recommended methods?

    Also, which master files would I edit to make the change survive upgrades?
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    Put a .htacess file in the folder /usr/local/ispconfig/interface/web/
     

Share This Page