httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mazert <rom...@elgeekador.net>
Subject [users@httpd] Redirecting http to https add a /? after the domain name
Date Sun, 16 Aug 2015 18:57:02 GMT
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@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message