What DX said. I clicked on the link at the end of 34 and found myself in guest mode in 35.
Buffy ,'Showtime'
Buffistas Building a Better Board
Do you have problems, concerns or recommendations about the technical side of the Phoenix? Air them here. Compliments also welcome.
It was all my fault -- the link at the end of 34 was buffistas.org, not www.buffistas.org.
I'll fix my link, and now wonder how hard it would be to fix the code itself to not distinguish.
You could configure the webserver to redirect requests for
http://buffistas.orgto
http://www.buffistas.org, that should do the trick, rather than space-monkey with the code.
I'd rather monkey with code than the webserver, since I feel it leaves us more portable.
Either way, I just need to focus.
This should do the trick more-or-less:
<?php if ( strtolower($SERVER['HTTP_HOST']) != "www.buffistas.org" ) { header ('Location: h t t p://www.buffistas.org'.$_SERVER['REQUEST_URI']); exit(); } ?>
(naturally, put the h t t p in without spaces, fighting the auto-linkage here)
Are you thinking of fixing the whole thing where 'http://buffistas.org puts you in guest mode? Because I like that.
me too.
Actually, this is easier:
To make the cookie available on all subdomains of example.com then you'd set it to '.example.com'. The . is not required but makes it compatible with more browsers. Setting it to www.example.com will make the cookie only available in the www subdomain. Refer to tail matching in the spec for details.
Thanks, Eddie. It's not so much the implementations as the implications I want to focus on.
Gotcha. Wouldn't want the Buffistas-bot to get dismembered.