Hi guys.
I installed ssl for my domain and its working now. ( https://freenettr.com/ )
But after ssl, my control panel is not working. ( http://212.47.234.120/ )
I installed ssl with THIS way.
And my httpd-vhosts.conf is;
What is the problem? Thanks.
I installed ssl for my domain and its working now. ( https://freenettr.com/ )
But after ssl, my control panel is not working. ( http://212.47.234.120/ )
I installed ssl with THIS way.
And my httpd-vhosts.conf is;
Code:
################################################################
# Apache VHOST configuration file
# Automatically generated by Sentora 1.0.3
# Generated on: 20:55 5th Aug 2016 EEST
#==== YOU MUST NOT EDIT THIS FILE : IT WILL BE OVERWRITTEN ====
# Use Sentora Menu -> Admin -> Module Admin -> Apache config
################################################################
Listen 80
Listen 443
# Configuration for Sentora control panel.
<VirtualHost *:80>
ServerAdmin zadmin@localhost
DocumentRoot "/etc/sentora/panel/"
ServerName panel
ErrorLog "/var/sentora/logs/sentora-error.log"
CustomLog "/var/sentora/logs/sentora-access.log" combined
CustomLog "/var/sentora/logs/sentora-bandwidth.log" common
AddType application/x-httpd-php .php
<Directory "/etc/sentora/panel/">
Options +FollowSymLinks -Indexes
AllowOverride All
Require all granted
</Directory>
# Custom settings are loaded below this line (if any exist)
##################################################
# Apache VHOST configuration file
# Customised entries for Sentora
##################################################
NameVirtualHost *:443
# Configuration for Sentora control panel.
SSLEngine on
SSLProtocol SSLv3
SSLCertificateFile /etc/apache2/ssl/Sentora.crt
SSLCertificateKeyFile /etc/apache2/ssl/Sentora.key
ServerAdmin zadmin@localhost
DocumentRoot "/etc/Sentora/panel/"
ServerName id-network.org
ServerAlias Sentora.id-network.org
Redirect Permanent / https://Sentora.id-network.org/
</VirtualHost>
################################################################
# Sentora generated VHOST configurations below.....
################################################################
# DOMAIN: freenettr.com
<virtualhost *:443>
ServerName freenettr.com
ServerAlias www.freenettr.com
ServerAdmin zadmin@localhost
DocumentRoot "/var/sentora/hostdata/zadmin/public_html/freenettr_com"
php_admin_value open_basedir "/var/sentora/hostdata/zadmin/public_html/freenettr_com:/var/sentora/temp/"
php_admin_value suhosin.executor.func.blacklist "passthru, show_source, shell_exec, system, pcntl_exec, popen, pclose, proc_open, proc_nice, proc_terminate, proc_get_status, proc_close, leak, apache_child_terminate, posix_kill, posix_mkfifo, posix_setpgid, posix_setsid, posix_setuid, escapeshellcmd, escapeshellarg, exec"
ErrorLog "/var/sentora/logs/domains/zadmin/freenettr.com-error.log"
CustomLog "/var/sentora/logs/domains/zadmin/freenettr.com-access.log" combined
CustomLog "/var/sentora/logs/domains/zadmin/freenettr.com-bandwidth.log" common
<Directory "/var/sentora/hostdata/zadmin/public_html/freenettr_com">
Options +FollowSymLinks -Indexes
AllowOverride All
Require all granted
</Directory>
AddType application/x-httpd-php .php3 .php
ErrorDocument 404 /_errorpages/404.html
ErrorDocument 403 /_errorpages/403.html
ErrorDocument 500 /_errorpages/500.html
ErrorDocument 510 /_errorpages/510.html
DirectoryIndex index.html index.htm index.php index.asp index.aspx index.jsp index.jspa index.shtml index.shtm
# Custom Global Settings (if any exist)
# Custom VH settings (if any exist)
SSLEngine on
SSLCertificateFile /var/sentora/hostdata/zadmin/ssl_certs/billing_domain_tld/certificate.crt
SSLCertificateKeyFile /var/sentora/hostdata/zadmin/ssl_certs/billing_domain_tld/certificate.key
SSLCACertificateFile /var/sentora/hostdata/zadmin/ssl_certs/billing_domain_tld/certificate.ca-bundle
</virtualhost>
# END DOMAIN: freenettr.com
################################################################
# DOMAIN: freenettr.com
# PORT FORWARD FROM 80 TO: 443
<virtualhost *:80>
ServerName freenettr.com
ServerAlias www.freenettr.com
ServerAdmin zadmin@localhost
RewriteEngine on
ReWriteCond %{SERVER_PORT} !^443$
RewriteRule ^/(.*) https://%{HTTP_HOST}/$1 [NC,R,L]
</virtualhost>
# END DOMAIN: freenettr.com
What is the problem? Thanks.