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.
'Ariel'
Do you have problems, concerns or recommendations about the technical side of the Phoenix? Air them here. Compliments also welcome.
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.
I'm using the most recent edition of Firefox. For the last two days, whenever I go to post, the progress bar on the right goes through, the left says "Done", and the posting box is still sitting there with my words in it. However, if I click back to the main page, the thread says 1 new message. When I go to read that 1 new, I find that it's my post. It's happened in every thread I've posted in.
ita mentioned the wayback machine in the B'cracy thread. Very cool, but I can't get to any of the actual threads. I get the error message below.
Robots.txt Retrieval Exclusion.
We're sorry, access to .http://www.buffistas.org/showthread.php?thread_id=51&post_id=1 &PHPSESSID=aa86a0a2939c6131db5b26bdfac1a747 has been blocked by the site owner via robots.txt. Read more about robots.txt See the site's robots.txt file. Try another request or click here to search for all pages on buffistas.org/showthread.php?thread_id=51&post_id=1 &PHPSESSID=aa86a0a2939c6131db5b26bdfac1a747 See the FAQs for more info and help, or contact us.