最後更新: 2017-04-20
為 ispconfig 設定 htpasswd
mkdir /etc/httpd/htpasswd
htpasswd -c /etc/httpd/htpasswd/ispconfig.htpasswd username
000-ispconfig.vhost
<VirtualHost _default_:8080>
....
#### 加入 ####
<Directory /usr/local/ispconfig/interface/web>
# apache 2.4 setting
AllowOverride None
AuthUserFile /etc/httpd/htpasswd/ispconfig.htpasswd
AuthName "Basic Protect"
AuthType Basic
<RequireAny>
Require ip 127.0.0.1
require valid-user
</RequireAny>
</Directory>
#### 加入 ####
<Directory /usr/local/ispconfig/interface/web/remote>
Options FollowSymLinks
Order allow,deny
Allow from 127.0.0.1
</Directory>
</VirtualHost>
Other ACL
#### Plugin #### <Directory /usr/share/roundcubemail/plugins/ispconfig3_account/config> Options FollowSymLinks Order allow,deny </Directory>