[BlueOnyx:19628] Re: https redirects to wrong website
Maurice de Laat
mdlaat at muisnetwerken.nl
Sun May 29 04:05:30 -05 2016
Hi Michael,
On 29-05-16 01:03, Michael Stauber wrote:
> Please do a "yum update" to get the latest perl-handler-utils installed.
> And also restart Apache manually:
>
> systemctl restart httpd
>
> That ought to fix it permanently.
Nope, sorry. It kept failing because of a missing 'serveralias' in
apache's https vsite container. I manually added it and it started to work.
I can't reproduce the error of a serveralias that is not being written
to the config.
I did find some other error that is reproducible though.
If you untick the 'Web Alias Redirects' option in the web settings,
there should a line like this (for each alias) being inserted in the
configuration:
RewriteCond %{HTTP_HOST} !^a.com(:80)?$ [NC]
This line is only being inserted in the http section of the
configuration, not in the https section.
Hence, even with 'Web Alias Redirects' not ticked, when browsing to
https://a.com you get still directed to https://www.a.com
It is not a biggie (at least not for me), but you might want to fix that
one.
Kind regards,
Maurice
More information about the Blueonyx
mailing list