2.4. Limiting Access To the Piranha Configuration Tool
/etc/sysconfig/ha/web/secure/.htaccess. After altering the file you do not have to restart the
piranha-guiservice because the server checks the
.htaccessfile each time it accesses the directory.
Order deny,allow Allow from all
.htaccessfile to allow access from only the loopback device (127.0.0.1). For more information on the loopback device, see the chapter titled Network Scripts in the Red Hat Enterprise Linux Reference Guide.
Order deny,allow Deny from all Allow from 127.0.0.1
Order deny,allow Deny from all Allow from 192.168.1.100 Allow from 172.16.57
.htaccessfile limits access to the configuration pages in the
/etc/sysconfig/ha/web/secure/directory but not to the login and the help pages in
/etc/sysconfig/ha/web/. To limit access to this directory, create a
.htaccessfile in the
denylines identical to