Topic: How do i use SSL with punbb?

Hi guys;

Im trying to use SSL with my forum, i put the code to rediect it to https instead of http in the header file. However it doesnt appear the right style of my forum anymore. I just wonder what i do wrong. If im wrong please explain to me how do i do it?

Here is my code to redirect:

<? if ($_SERVER["SERVER_PORT"] != 443)
{
   header('Location: https://xxx.com/Forum/index.php');
}?>

Thanks

I love sky - i love flowers - and i love myself :D

Re: How do i use SSL with punbb?

Have you added the s to your base URL in admin/options as well?

"Programming is like sex: one mistake and you have to support it for the rest of your life."

3 (edited by Strofanto 2006-11-04 14:47)

Re: How do i use SSL with punbb?

mystic wrote:

header('Location: https://xxx.com/Forum/index.php');

You're using secure connection, is it supposed?

Re: How do i use SSL with punbb?

yes it does; but yeah i fix it; silly im again; i forgot to ppint the image in the CSS to https; thats why it doesnt eapper right; thanks again

I love sky - i love flowers - and i love myself :D