httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chris Arnold <>
Subject Re: [users@httpd] Redirect http to https
Date Thu, 29 Jan 2015 00:06:36 GMT

On Jan 28, 2015, at 6:31 PM, Yehuda Katz <<>>

Make sure you put these in the correct VHOST. They need to be in the :80 vhost, not the :443

I usually use the Redirect directive (

Yea, I tried that, like this in the :80 vhost:

Redirect permanent ^/share(.*) https://share.domain.tld/share [R=301,L]

Then in a browser type share.domain.tld and you land on http://domain.tld site though the
URL in the browser has https://share.domain.tld

View raw message