|
Posted by e_matthes on 06/06/07 17:27
On Jun 6, 8:01 am, howa <howac...@gmail.com> wrote:
> On Jun 7, 12:54 am, e_matt...@hotmail.com wrote:
>
>
>
> > I'm not sure exactly what it's called, but this is how it works. I
> > have one folder containing all the pages that should only be served
> > over https. In that folder, I have an htaccess file that contains the
> > following lines:
>
> ok, thx, i will try that!
>
> but i want to confirm, are yo having the same problem, i.e. IE work,
> but FF didn't work when just setting using header("Location: ...") ?
I did not even get far enough with redirects to notice an issue with
IE vs. FF. Redirects worked on FF, but I ended up creating an
"ensureHTTPS" file and "ensureHTTP" file, and including them as
appropriate on all pages. Ugly maintenance when you need to include
one or the other on every page. Two access files took care of
everything. Also, I think php will load the whole page and then
execute the redirect, which is unnecessary work.
[Back to original message]
|