On 8/11/2020 10:44 AM, Nick Kew wrote:

On 11 Aug 2020, at 08:52, MEjaz <me...@cyberia.net.sa> wrote:

Bad Request
Your browser sent a request that this server could not understand.
Reason: You're speaking plain HTTP to an SSL-enabled server port.
Instead use the HTTPS scheme to access this URL, please.
Read the error message and log.  It's giving you exactly the advice you need.
My guess is that you've configured SSL on both ports.

More generally, don't confuse the configuration of your http and https vhosts.
If you have the redirect in the latter, it becomes an infinite loop!

(the mod_rewrite advice is wrong on too many levels to enumerate).


Many ways of handling http->https, mod_rewrite being one of them with variations of the syntax based on what you want to do.
Positive guidance per stack overflow.
https://stackoverflow.com/questions/10489895/http-to-https-through-htaccess

(agreed... likely some other apache config issues for OP involving port configs).

Jim


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org

Reply via email to