Cisco Headend Digital Broadband Delivery System

Pagina di 148
 
 
 
Define the Web Service Listening Interface 
 
4034689 Rev A 
59 
 
a  At the prompt, type 
su -
 and press Enter
b  Type the root password and press Enter
3  Open the  /etc/apache2/httpd-dncsws/ssl.conf file with a text editor. 
4  Comment out all port 443 Listen statements by placing “#” in front of the line. 
Example: 
#Listen dncsws:443
 
5  Save and close the ssl.conf file. 
 
Define the Web Service Interface for HTTPS Support Only 
Complete the following procedure to define the listening interface for HTTPS access 
to the web services. Skip this procedure if unsecured web traffic is required for the 
web services. Skip this procedure if both unsecured and secured (HTTP and HTTPS) 
web traffic support is required 
1  Open an xterm window on the DNCS. 
2  Log into the system as root: 
At the prompt, type 
su -
 and press Enter
b  Type the root password and press Enter
3  Open the /etc/apache2/ httpd-dncsws/httpd.conf file with a text editor. 
4  Comment out all port 80 Listen statements by placing “#” in front of the line. 
Example: 
#Listen dncsws:80
 
5  Save and close the httpd.conf file. 
 
Restart the Web Server 
Complete the following steps to restart the http-dncsws web server instance to 
activate the changes. 
1  Complete the following steps to stop and start the http-dncsws web server 
instance on the DNCS. 
a  Open an xterm window on the DNCS. 
b  Log into the system as root: 
i  At the prompt, type 
su -
 and press Enter
ii  Type the root password and press Enter
c  Type the following command and press Enter to stop the http-dncsws 
instance: 
svcadm -v disable -st http-dncsws
 
d  Type the following command and press Enter to refresh the http-dncsws 
instance configuration: 
svcadm refresh http-dncsws