(04-24-2016, 08:00 PM)datatab Wrote: Did you have :
Code:<VirtualHost *:443>
ServerAdmin zadmin@localhost
DocumentRoot "/var/sentora/hostdata/zadmin/public_html/[SOME_HOST]"
ServerName [SOME_HOST]
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 "/var/sentora/hostdata/zadmin/public_html/[SOME_HOST]">
Options +FollowSymLinks -Indexes
AllowOverride All
Require all granted
</Directory>
SSLEngine on
SSLCertificateFile /etc/apache2/ssl/[SOME_CRT]
SSLCertificateKeyFile /etc/apache2/ssl/[SOME_KEY]
SSLCACertificateFile /etc/apache2/ssl/[SOME_CRT_BUNDLE]
</VirtualHost>
The only thing I added to the vhost override was
SSLEngine on
SSLCertificateFile /etc/apache2/ssl/[SOME_CRT]
SSLCertificateKeyFile /etc/apache2/ssl/[SOME_KEY]
SSLCACertificateFile /etc/apache2/ssl/[SOME_CRT_BUNDLE]
That's what was in the documentation.
I have feeling that I missed something to tell apache to listen also on 443
The thing is, I need the site to listen on both 80 and 443. It is an online store. I can't expect customers to know to only go to https://