Cisco Headend System Release 2.7 Guía De Instalación

Descargar
Página de 138
 
 
 
Configure Apache to Allow the Client Connection 
 
4038415 Rev A 
113 
 
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>