This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

Runing page under https with sentora cp
#4
RE: Runing page under https with sentora cp
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
################################################################
Reply
Thanks given by:


Messages In This Thread
Runing page under https with sentora cp - by Theo - 12-11-2015, 01:31 AM
RE: Runing page under https with sentora cp - by Theo - 12-20-2015, 11:48 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
Is Sentora dead? rajeevrrs 2 3 ,971 12-17-2022, 09:20 AM
Last Post: TGates
Sentora debug and error files johnnyp 0 1 ,590 10-27-2022, 06:16 PM
Last Post: johnnyp
Transfer Account to another Sentora BenI 1 3 ,334 07-21-2022, 07:19 PM
Last Post: Nigel

Forum Jump:


Users browsing this thread: 1 Guest(s)