Answer the question
In order to leave comments, you need to log in
How to redirect from 443 to port 80 in apache?
At the moment, the vhost is configured as follows:
ServerName domain1.local
RedirectPermanent / domain2.local
When opening https://domain1.local,
an error occurs ERR_SSL_PROTOCOL_ERROR
the same vhost with port 80 when opening domain1.local - it works fine
Answer the question
In order to leave comments, you need to log in
Because for a HTTPS connection, you need a correctly configured SSL interaction - a certificate is there, ciphers ... and only then, if everything is fine, it will redirect you to HTTP.
In general, the usefulness of this is rather doubtful - while everyone is trying to do an unconditional redirect to HTTPS, for some reason you are moving in the opposite direction.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question