All sites can be accessed https
05-26-2015, 09:17 PM
(This post was last modified: 05-26-2015, 09:23 PM by elijahbate.)
Hi Guys,
Just wondering if anyone else had this weird occurrence.
I have an few domains setup but 2 setup to do ssl and they are working correctly there is a http redirect on the domain to https
But for some reason all domains can be access by https.
Slightly weird why I am getting this error unless I need to do _default_:*443
Would be great if someone could shed some light on the issue.
Thanks
Just wondering if anyone else had this weird occurrence.
I have an few domains setup but 2 setup to do ssl and they are working correctly there is a http redirect on the domain to https
But for some reason all domains can be access by https.
Code:
inside vhost
<VirtualHost *:80>
ServerName example.com
ServerAlias www.example.com
Redirect / Permanent https://example.com
</VirtualHost>
vhosts
<VirtualHost *:80>
ServerName example2.com
ServerAlias www.example2.com
all the suhosin, index's and directory stuff
</VirtualHost>
conf file
<VirtualHost *:443>
ServerName example.com
ServerAlias www.example.com
all the suhosin, index's and directory stuff
SSLEngine on
ssl stuff
</VirtualHost>
Slightly weird why I am getting this error unless I need to do _default_:*443
Would be great if someone could shed some light on the issue.
Thanks