Re: http-https

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

On 11 Aug 2020, at 08:52, MEjaz <mejaz@xxxxxxxxxxxxxx> 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-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx




[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux