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
- Is an unpaid umbrella company required to pay contractors? Today 09:28
- The truth of umbrella company regulation is being misconstrued Yesterday 09:23
- Labour’s plan to regulate umbrella companies: a closer look Nov 21 09:24
- When HMRC misses an FTT deadline but still wins another CJRS case Nov 20 09:20
- How 15% employer NICs will sting the umbrella company market Nov 19 09:16
- Contracting Awards 2024 hails 19 firms as best of the best Nov 18 09:13
- How to answer at interview, ‘What’s your greatest weakness?’ Nov 14 09:59
- Business Asset Disposal Relief changes in April 2025: Q&A Nov 13 09:37
- How debt transfer rules will hit umbrella companies in 2026 Nov 12 09:28
- IT contractor demand floundering despite Autumn Budget 2024 Nov 11 09:30
Comment