Originally posted by bobsyouruncle
View Post
- Visitors can check out the Forum FAQ by clicking this link. You have to register before you can post: click the REGISTER link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. View our Forum Privacy Policy.
- Want to receive the latest contracting news and advice straight to your inbox? Sign up to the ContractorUK newsletter here. Every sign up will also be entered into a draw to WIN £100 Amazon vouchers!
test please delete
Collapse
This is a sticky topic.
X
X
Collapse
-
-
Originally posted by Bunk View PostHas anybody used last.fm much? I'm having great difficulty getting it too play anything approaching decent music.Where are we going? And what’s with this hand basket?Comment
-
Evening denizens
I was able to stay late again, and polish up my overengineered admin thingy - it works!
The idea is that, if there's a problem with an online promotion (say the database is unwell, or whatever) they can use this to temporarily prevent people from attempting to register, showing a "sorry, try again later" page.
When briefing me on the requirements, the chap said he wasn't sure of the best approach; I couldn't rely on the database, as it might be what was wrong. He suggested that I could create a file, and test for its existence on every request
I pointed out that Apache is already doing that - looking for an .htaccess file.
So my solution simply copies an .htaccess file into the right place which rewrites all requests to go to the "sorry, we fail" page. When things can be turned back on, it simply deletes it.
There's no additional server overhead in normal operation; if the admin server fails they can re-enable stuff by ssh-ing into the live server and removing the file manually; and the user doesn't get a redirect to an error page (the rewriting happens only on the server) meaning the URL in the location bar is still valid if they want to switch to another tab, then come back later and try a reload. All in all, an elegant solution
(That last point is the most important one, IMHO. I've even ranted about it, then ranted about it some more )Comment
-
Comment
-
Right, I think I've earned some dinner
I'll have to catch up with this afternoon's TPD later
Comment
-
Originally posted by NickFitz View PostRight, I think I've earned some dinner
I'll have to catch up with this afternoon's TPD later
Bazza gets caught
Socrates - "The only true wisdom is in knowing you know nothing."
CUK University Challenge Champions 2010Comment
-
Originally posted by Churchill View PostEvening all!Bazza gets caught
Socrates - "The only true wisdom is in knowing you know nothing."
CUK University Challenge Champions 2010Comment
-
Originally posted by cailin maith View PostI thought so too - I was #01 but now I am #00
Someone deleted a postDrivelling in TPD is not a mental health issue. We're just community blogging, that's all.
Xenophon said: "CUK Geek of the Week". A gingerjedi certified "Elitist Tw@t". Posting rated @ 5 lard pointsComment
-
Originally posted by BrowneIssue View PostIt's getting silly now...
How you feeling today?Where are we going? And what’s with this hand basket?Comment
-
Originally posted by BrowneIssue View PostIt's getting silly now...Bazza gets caught
Socrates - "The only true wisdom is in knowing you know nothing."
CUK University Challenge Champions 2010Comment
- Home
- News & Features
- First Timers
- IR35 / S660 / BN66
- Employee Benefit Trusts
- Agency Workers Regulations
- MSC Legislation
- Limited Companies
- Dividends
- Umbrella Company
- VAT / Flat Rate VAT
- Job News & Guides
- Money News & Guides
- Guide to Contracts
- Successful Contracting
- Contracting Overseas
- Contractor Calculators
- MVL
- Contractor Expenses
Advertisers
Contractor Services
CUK News
- A contractor’s Autumn Budget financial review Today 10:59
- Why limited company working could be back in vogue in 2025 Yesterday 09:45
- Expert Accounting for Contractors: Trusted by thousands Dec 12 14:47
- Finish the song lyric Dec 12 12:05
- A quick read of the taxman’s Spotlight 67 may not be enough Dec 12 09:27
- Contractor MVL Solution from SFP Dec 11 12:53
- Gary Lineker and HMRC broker IR35 settlement on the hush Dec 11 09:10
- IT contractor jobs market sinks to four-year low in November Dec 10 09:30
- Joke of the Day Dec 9 14:57
- How company directors can offset employer NIC rising to 15% Dec 9 10:30
Comment