Re: redirect http to https
| From: | edwardspl at ita dot org dot mo | Date: | Mon, 09 Apr 2007 13:54:33 +0000 |
| Subject: | Re: redirect http to https | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-252314@lists.php.net to get a copy of this message | ||
Ben Liu wrote:
> On 4/9/07, Martin Marques <martin@bugs.unl.edu.ar> wrote:
>
>>
>> This should be done with the rewrite instruction of apache, or what ever
>> instructionyour web server has.
>
>
> Um...guess I will have to check with our hosting company about this.
> Thanks.
>
> - Ben
>
Hello,
FYI :
<?php
header("Location:https://www.yourdomain_name.com");
exit();
?>