How to configure ZMC's Apache to listen on one IP address only

This article is for Product: Amanda Enterprise (AE)

Info Description:

If your backup server has multiple IP addresses and you want the Apache installed by Amanda Enterprise to listen on only one of these IP addresses, please do the following:

  • Edit /opt/zmanda/amanda/apache2/conf/httpd.conf and change the Listen directive from  "Listen 80" to specifically listen on port 80 only from a particular IP address.  For example, if that IP address is 12.34.56.78, then update the Listen directive as suchListen 12.34.56.78:80
  • Edit /opt/zmanda/amanda/apache2/conf/ssl.conf and change the Listen directive from "Listen 443" to "Listen 12.34.56.78:443" and add directive "Listen 127.0.0.1:443":Listen 12.34.56.78:443 Listen 127.0.0.1:443
  • Now restart ZMC services which will also include a restart of its Apache server:# /etc/init.d/zmc_aee restart