Jump to content


xe-cute

Member Since 13 Nov 2010
Offline Last Active Jan 24 2012 04:59 PM

Posts I've Made

In Topic: How to do a SOPA website protest while minimizing the impact with Google

17 January 2012 - 10:46 PM

I've just put my blackout in effect (as it's past 3am in the UK and I didn't fancy stopping up till 6am).
I came on the forums here before bed to see if any others where doing anything too in protest.

Fingers crossed I've done mine alright. I've put a 503 in the header, I think, hehe (first time I've actually attempted it, so hope I got it right)

I used at the top of my php file...


<?php
ob_start();
header('HTTP/1.1 503 Service Temporarily Unavailable');
header('Status: 503 Service Temporarily Unavailable');
header('Retry-After: 3600');
header('X-Powered-By:');
?><!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<META HTTP-EQUIV="Pragma" CONTENT="no-cache">


I also hope I used the no cache correctly too so visitors see the new page and not the old one in there browser cache.

On another note I had to switch Cloudfare off on my website awhile back as I saw no benefit speed wise and an actual decrease in ad revenue and visitors somehow. It may of been coincidence I suppose.