S
S
Sevastoporn2019-08-13 18:03:12
linux
Sevastoporn, 2019-08-13 18:03:12

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

1 answer(s)
K
ky0, 2019-08-13
@ky0

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 question

Ask a Question

731 491 924 answers to any question