> -----Original Message-----
> From: Ben Liu [mailto:[EMAIL PROTECTED]
> Sent: Monday, April 09, 2007 3:52 PM
> To: Martin Marques; PHP
> Subject: Re: [PHP] redirect http to https
> 
> 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
> 
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php

[Peter Lauri - DWS Asia] 

You might be able to do this by putting an .htaccess file in your webroot of
non-ssl:

------
RewriteEngine On

RewriteRule ^/(.*)$ https://www.yourdomain.com/$1 [L]
------

Best regards,
Peter Lauri

www.dwsasia.com - company web site
www.lauri.se - personal web site
www.carbonfree.org.uk - become Carbon Free

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to