你可以在这里找到本文的原文。
添加监听端口和虚拟主机
修改Apache的配置文件(/opt/tarantella/webserver/apache/<version>/conf/httpd.conf
),在文件加入下面的内容:
Listen 9443
<VirtualHost *:9443>
DocumentRoot "/opt/tarantella/var/docroot"
ServerName demo.example.com
ErrorLog "/opt/tarantella/webserver/apache/2.2.29_openssl-1.0.1l_jk1.2.40_64/logs/error__sgdadmin_log"
TransferLog "/opt/tarantella/webserver/apache/2.2.29_openssl-1.0.1l_jk1.2.40_64/logs/access_sgdadmin_log"
SSLEngine on
SSLProtocol ALL -SSLv2 -SSLv3
SSLHonorCipherOrder On
SSLCipherSuite EECDH+ECDSA+AESGCM:EECDH+aRSA+AESGCM:EECDH+ECDSA+SHA384:EECDH+ECDSA+SHA256:EECDH+aRSA+SHA384:EECDH+aRSA+SHA256:EECDH:EDH+aRSA:!aNULL:!eNULL:!LOW:!3DES:!MD5:!EXP:!PSK:!SRP:!DSS:!EXPORT:!DES:!RC2:!RC4:!SEED
SSLCertificateFile /opt/tarantella/var/tsp/cert.pem
SSLCertificateKeyFile /opt/tarantella/var/tsp/key.pem
<FilesMatch "\.(cgi|shtml|phtml|php)$">
SSLOptions +StdEnvVars
</FilesMatch>
BrowserMatch "MSIE [2-5]" \
nokeepalive ssl-unclean-shutdown \
downgrade-1.0 force-response-1.0
CustomLog "/opt/tarantella/webserver/apache/2.2.29_openssl-1.0.1l_jk1.2.40_64/logs/ssl_request_sgdadmin_log" \
"%t %h %{SSL_PROTOCOL}x %{SSL_CIPHER}x \"%r\" %b"
JkMount /sgdadmin sgdadmin
JkMount /sgdadmin/* sgdadmin
</VirtualHost>
…
JkMount /axis axis
JkMount /axis/* axis
JkMount /sgd tta
JkMount /sgd/* tta
#JkMount /sgdadmin sgdadmin <=要把这里注释掉
#JkMount /sgdadmin/* sgdadmin <=要把这里注释掉
重启SGD的Web Server(Restart the webserver of SGD)
tarantella restart webserver
访问管理控制台
在访问管理控制台的时候只能使用下面的URL和端口:
还需要指出,修改管理控制台的端口之后,会带来以下问题:
- 在SGD主页上的管理控制台链接失效
- 在登录到SGD 管理控制台后,会导致SGD Webtop会话自动登出