Topic: SSL is not a different referrer is it?
Why is it that Punbb considers a secured session (https://) a different referer then insecured (http://)
I dont think that https:// is a different referer.
I found that other applications that that use referers do not include the http:// as part of the referer.
(phpclassifieds for example)
referer1: mysite.com/classifieds
referer2: classifieds.mysite.com
our ecard script does include the www abut has 4 allowed referers
referer1: mysite.com/ecard
referer2: www.mysite.com/ecard
referer3: ecard.mysite.com
referer4: www.ecard.mysite.com
So what about punbb then? is there any way to atleast allow the option to use both http:// and https://?
So we have no choice but to forced https:// , it seems like the only way to assure that a user wont experience the bad-referer error.
<?
$mydefaultport=80; //
$https="$pun_root"; //Secure Page
if($_SERVER['SERVER_PORT'] == $mydefaultport) {
header("Location: " . $https . $_SERVER['REQUEST_URI']);
exit;
}
?>
Okay so this re-directs to https:// if the user somehow lands on the pun with http:// but ideally it would be nice to see it work with both.
Perhaps this can be a future suggestion to add multi-(same domain) referers that will allow https:// aswell as subdomains so
http://mysite.com/punbb/
https://mysite.com/punbb/
http://punbb.mysite.com
https://punbb.mysite.com
Thankies
Kendra