Hi i looking for how update configuration for this. My RapidSSL certificate is for this https variants look
here. Earlier when i use ISP3 for webhosting i haved variant at this certificate.
https://webhosting.com - webhosting site
https://webhosting.com
:88 - control panel
Actualy in sentora:
http://webhosting.com - website
https://netstorm.com - control panel
But i need only https:// for acess on netstorm.cz i haevnt there any subdomain i know "RapidSSL" which i have is not for subdomain but only for domain. I found probably this sollution is good? Solution is
https://wiki.apache.org/httpd/RedirectSSL
My actualy Sentora ports under apache for domain:
Code:
# Configuration for Sentora Control Panel.
<VirtualHost *:443>
ServerName domain.cz
ServerAdmin admin@domain.cz
DocumentRoot "C:/Sentora/panel/"
AddType application/x-httpd-php .php
DirectoryIndex index.php index.html
<Directory "C:/Sentora/panel/">
Options FollowSymLinks
AllowOverride All
Order allow,deny
Allow from all
</Directory>
# Custom settings are loaded below this line (if any exist)
SSLEngine on
SSLCertificateFile C:\Sentora\bin\apache\conf\ssl\server.crt
SSLCertificateKeyFile C:\Sentora\bin\apache\conf\ssl\server.key
</VirtualHost>
################################################################
# Sentora generated VHOST configurations below.....
################################################################
# DOMAIN: domain.cz
<VirtualHost *:80>
ServerName domain.cz
ServerAlias www.domain.cz
ServerAdmin admin@domain.cz
DocumentRoot "C:/Sentora/www/admin/public_html/domain_cz"
php_admin_value open_basedir "C:/Sentora/www/admin/public_html/domain_cz;C:/Sentora/www/admin/tmp;C:/Sentora/temp"
php_admin_value suhosin.executor.func.blacklist "system, exec, shell_exec, passthru, proc_terminate, proc_nice, escapeshellcmd, escapeshellarg, popen, pclose, show_source, leak, apache_child_terminate, posix_kill, posix_mkfifo, posix_setpgid, posix_setsid, posix_setuid, pcntl_exec"
php_admin_value upload_tmp_dir "C:/Sentora/www/admin/tmp"
php_admin_value session.save_path "C:/Sentora/www/admin/tmp"
ErrorLog "C:/Sentora/logs/domains/admin/domain.cz-error.log"
CustomLog "C:/Sentora/logs/domains/admin/domain.cz-access.log" combined
CustomLog "C:/Sentora/logs/domains/admin/domain.cz-bandwidth.log" common
DirectoryIndex index.php index.html index.htm index.shtml index.shtm
<Directory "C:/Sentora/www/admin/public_html/domain_cz">
Options FollowSymLinks
AllowOverride All
Order Allow,Deny
Allow from all
</Directory>
AddType application/x-httpd-php .php .php3 .php4
ScriptAlias /_cgi-bin/ "C:/Sentora/www/admin/public_html/domain_cz/_cgi-bin/"
<Location /_cgi-bin>
AddHandler cgi-script .cgi
AddHandler cgi-script .pl
Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch
</Location>
ErrorDocument 403 /_errorpages/403.html
ErrorDocument 404 /_errorpages/404.html
ErrorDocument 500 /_errorpages/500.html
ErrorDocument 510 /_errorpages/510.html
# Custom Global Settings (if any exist)
# Custom VH settings (if any exist)
</VirtualHost>
# END DOMAIN: domain.cz
################################################################