Cisco Headend System Release 2.7 Installation Guide

Page of 138
 
Appendix C 
SSL Configuration for the LoadPIMS Web Service 
110 
4036043 Rev B 
Required Changes to the /etc/apache2/httpd.conf File 
Add a new Import directive within the <VirtualHost *:80 *:8045> directive, just 
before the </VirtualHost> line. Use the following example as a guide: 
<VirtualHost *:80 *:8045>
 
    #
 
    # "/var/apache2/cgi-bin" should be changed to whatever 
your ScriptAliased
 
    # CGI directory exists, if you have that configured.
 
    #
 
    # Allow cgi-bin access only on local box or if 
authenticated
 
      <Directory "/var/apache2/cgi-bin">
 
         
 
AllowOverride None
 
        
Options None
 
         
 
Order Allow,Deny
 
         
 
Allow from all
 
      </Directory>
 
 
<Location />
 
            Order Allow,Deny
 
            Allow from localhost
 
            Allow from dncs
 
            Allow from appservatm
 
            ErrorDocument 403 "<html><head><title>Error 
403</title></head><body><h2>SECURITY WARNING</h2>Web 
connections are only allowed from localhost.</body></html>"
 
      </Location>
 
Include /etc/apache2/conf/*.http
 
</VirtualHost>