Redirecting http to https add a /? after the domain name

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

 



Hello,

I have two virtualhost, one for http and the other the https, both use the same domain. My goal is to redirect all http request to https.

As said in the doc https://wiki.apache.org/httpd/RedirectSSL, i use the Redirect function like this :
Redirect permanent / https://mywebsite.tld

But if I try it into a web browser, it adds a /? at the end. Here are some examples :

http://toto.fr/skel/head.php -> https://toto.fr/?skel/head.php
http://toto.fr/ -> http://toto.fr/?

I don't understand why this /? appears, I tried with RewriteUrl and disabling a lot of options it didn't works.

Thanks in advance.


---------------------------------------------------------------------
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