The Well House Newsletter - Sunday, 1st March 2009
About us and this newsletter [link] ...
Previous editions: January 2009November 2008September 2008July 2008May 2008March 2008January 2008November 2007September 2007 • or current edition

Public Transport Training from Well House Consultants And also ... Tcl, Tcl/Tk and Expect Programming in Lua Python Programming Well House Manor - Hotel and Training Centre Apache HTTP and Tomcat Servers The Perl Programming Language and its use Ruby and Ruby on Rails PHP - the language and its application C and C++ Programming Linux and Shell Programming Melksham SQL and MySQL For the Webmaster, Postmaster and moderator Java and the Java Environment Fun and Flames Running a training and hotel company Around, about and nearby to Wiltshire Client Side Languages (HTML, CSS, Javascript) Keynote Articles General Programming Topics
Keynote article ...

How to avoid duplicating web page maintainance

How do you move from a web site with a single static page to a web site with a thousand pages (URLs) without multiplying your maintainance work by a thousand? Such is the critical importance of being able to do this that there are many schemes available - many solutions - and virtually every site that's more than a single shop front window uses them. Here are some of the techniques:

Scripted Content Generation Where a program that's run whenever [part of] the web site is updated regenerates the individual static .html files.

Site Management Programs Where a static .html page is generated by a program that a content provider submits.

Style Sheets Where the look and feel that's been developed for one page is carried across many others.

Include Files Where a page is held on the server in "HTML++" - that's html with extra bits such as SSI, PHP, ASP, JSP, Mason, Rails which are interpreted by the server before it's passed to the browser allowing a single piece of content to be maintained for insertion in many pages

URL rewriting Where a whole number of apparently different static .html pages are actually served by a single page or program that produces a response based in part on the name of the page to be served.

Under the Apache httpd web server, URL rewriting is performed by mod_rewrite. See mod_rewrite for newcomers for further details of this (that's really the second part of this article)
(this article written on 2008-12-20)

Other articles ...

Apache HTTP and Tomcat Servers
[2059] Sharing the load between servers - httpd and Tomcat - (new - 2009-02-28)
[2055] Effect on server when memory runs out and swapping starts - (new - 2009-02-26)
[2054] Tuning httpd / the supermarket checkout comparison - (new - 2009-02-26)
[2039] The Invoker - (new - 2009-02-13)
[2038] Sticky Sessions with mod_jk (httpd to Tomcat) - (new - 2009-02-12)
[2016] Apache httpd and Apache Tomcat miscellany - (new - 2009-01-30)
[1994] tomcat-users.xml; what a difference a space made - (new - 2009-01-16)
[1974] Moving a directory on your web site - (new - 2009-01-03)
[1969] Search Engines. Getting the right pages seen. - (new - 2009-01-01)
Top or Show all for Apache HTTP and Tomcat Servers

C and C++ Programming
[2005] Variables and pointers and references - C and C++ - (new - 2009-01-23)
[2004] Variable Scope in C++ - (new - 2009-01-22)
[2002] New C Examples - pointers, realloc, structs and more - (new - 2009-01-20)
[1675] Comparing Objects in C++
[1674] What a lot of files! (C++ / Polymorphism demo)
Top or Show all for C and C++ Programming

Melksham
[2043] Confidence, Customer Service and Tourism in Melksham - (new - 2009-02-15)
[2015] Service Excellence Awards - (new - 2009-01-30)
[2012] The Wiltshire Police - (new - 2009-01-29)
[1997] Travelling to a course - station pickups - (new - 2009-01-16)
[1987] One Cheer for Local Democracy - Asda in Melksham - (new - 2009-01-11)
[1979] Looking forward, in Melksham, in 2009 - (new - 2009-01-05)
[1966] Background to the TransWilts Train Fiasco - (new - 2008-12-29)
Top or Show all for Melksham

Training from Well House Consultants
[2041] httpd, Tomcat and PHP course enhancements - (new - 2009-02-14)
[2032] Mobile Internet - an alternative to hotel WiFi - (new - 2009-02-09)
[1996] Advise before my Apache / Tomcat course - (new - 2009-01-16)
[1989] So sad to see you go - (new - 2009-01-12)
[1933] Learning to Program in C
Top or Show all for Training from Well House Consultants

Running a training and hotel company
[2049] Why Choose Well House Consultants for your course? - (new - 2009-02-20)
[2044] Please Trouble me - (new - 2009-02-16)
[2021] Short health and safety course - (new - 2009-02-02)
[2010] How long should a training module be? - (new - 2009-01-27)
[2007] Launch of Melksham Food and Drink Festival - (new - 2009-01-24)
[2003] Discount Training Courses - PHP, Perl, Python - (new - 2009-01-21)
[1991] Rules for a King - (new - 2009-01-13)
[1975] Well House Manor Hotel - on plan for 2009 business guests - (new - 2009-01-03)
[1973] Required Request - (new - 2009-01-03)
[1957] Why are cooks bad tempered?
[1950] Copyright of Training Notes and Web Site
[1948] Blame Culture
[1927] Team changes at Well House - looking forward
[1915] Quietly putting prices up
[1913] Alastair Darling helps make paperwork and confusion
[1900] Table Topics
[1884] Recession? Depression?
[1877] Guests doing a bunk?
[1835] 23:30 bookings and midnight checkins
[1805] Carlisle High School - Class of 1973 Reunion
[1760] An opportunity for something new
[1758] Lindors Hotel, near St. Briavels, Wye Valley
[1713] Ways to accept credit cards - or not!
[1698] Dealing with The Press
[1673] Spam Filters ... are working!
[1672] The Composting Cone Challenge
[1637] Providing exceptional service - and carrying on doing so.
[1626] Early May - a short chance to regroup and improve
[1622] An extra step - victory from defeat
[1606] Sheep Shearers, Marathon Runners and Ocean Sailors
[1597] Comparing hotels - as a guest and from the proprietors view
[1585] Well House Consultants / Manor - Staff
[1580] Congratulations, Martin and Marta
[1571] Await guests in the early hours
[1548] Hotelympia - show report - the lighter side
[1547] New bathing idea for hotels from Hotelympia
[1525] Just one thing let the service down - but that is my memory
[1520] Terms and Conditions - Hotel, England - plain English
[1516] Pictures you can use - for free - from our library
[1490] Software to record day to day events and keep an action list
[1458] The wrong way to put up prices
[1453] What makes our courses special?
[1445] Looking after you Christmas Customer Crowds
[1441] On cancellations, rebooking, and pricing schemes
[1434] Market survey - to learn, to prove a point, or to sell your product?
[1433] Linux, PHP, Tcl, Ruby, C, C++ - last minute training course availability
[1422] Wiltshire - speaker / after dinner talker offer
[1421] Castle Lodge Hotel, Ely, Cambridgeshire
[1413] The little gestures that can really count
[1406] Away or home - which do I prefer?
[1393] First Alternative / what has happened there?
[1374] Maidenhead Coffee Challenge
[1373] New Month, New Quarter, New Laws
[1371] Hotel in Melksham at Christmas
[1369] One business, four different angles!
[1356] Crystal Ball - How long do I need to be online?
[1354] Match the Bedroom to the Hotel
[1347] Wireless Internet Access at hotels - an update and some pitfalls
[1333] Kasteel Elsloo - Michelin rated hotel.
[1324] Well House Manor appoints a General Manager
[1319] Customer feedback - lifeblood of a business
[1311] What do people look for on a hotel web site?
[1301] Plastic or China
[1287] Work and play at Well House Manor - Football and Shell Shortcuts
[1285] In the army, or in civvie street?
[1262] Keep in touch with PHP, Perl, Python and old friends too
[1248] How NOT to oversell a hotel
[1243] Heavy duty hole punch
[1211] A lot has happened in a year
[1205] Arrival and Departure experiences - another hotel
[1180] Conjugation
[1179] Sizing sheets and other domestic issues
[1165] Extended Credit request - train in June and be paid in September
[1161] A contrast in room rates and facilities
[1159] It can take more that one plus one to get two.
[1122] Hotel - online feedback forms compared
[1108] Express service
[1105] A week is a long time in the life of a conference centre
[1098] Three big events - TWSW, Business of the year and the police
[1091] The Psyche is all wrong.
[1090] Too many instructions, too much detail
[1087] Telling a story in different ways
[1084] Writing terms and conditions for conferences and other events
[1083] Behind the scenes
[1048] Getting rid of people - hotel techniques
[1046] Bounce, bounce, bounce
[1026] The Wheatsheaf 2, The Bell 0
[1022] No courses. No hotel guests. Rushed off our feet!
[1011] Well House Manor and Beechfield House, Hotels, Melksham
[1007] Friends and family
[1002] Meet the neighbours
[1000] One Thousand Posts and still going strong
[988] You should think you're first in a hotel room
[982] Notes from the white board
[979] Empty seats, Nodding Donkeys and buses
[972] Both one team and two
[966] CSL, KISS and RTFM
[961] Products that our customers want more of
[951] What happened at Geekmas
[944] Just ******* Google it
[941] Snagging
[939] Swipe cards for hotel rooms - Security issues
[932] A tale of a wee wall
[931] Before and After - Well House Manor
[927] Hotel door furniture
[922] Staying at your own hotel
[906] A commitment we won't be making
[902] Brand new hotel and training centre, Melksham
[895] Welcome, Martin
[894] Where quality costs less
[890] Open
[884] Drive time
[883] Age discrimination law
[881] Coming together.
[869] UNABLE TO ATTEND
[868] Smoking, or no
[862] 4 weeks to go
[858] From the Manor written
[855] Fitting our bathrooms
[852] Eventful evening - a lesson in looking after contacts
[849] Staff Meeting
[844] Hotel, Melksham, Wiltshire
[838] Talking about other training companies.
[816] Above the parapit, Well House Manor
[813] Monday Morning at Well House Consultants Melksham
[808] Sales call
[797] Writing up new C / C++ notes.
[774] Bed and Breakfast, or Hotel?
[769] King Edward VII - days of empire
[766] Discounts and approved supplier lists
[759] Watch your Google profile
[756] Seeing the bricks for the trees
[751] Want to be a technical trainer in the UK?
[742] A visit from the solicitor
[739] The eye
[736] New Tape Librarian
[734] Keeping customers informed by email
[729] Career development advice
[725] Better communication
[722] I'm answering a job applicant
[721] Residential
[720] Planning a hotel refurb - an example of a Gant chart in PHP
[714] Room for Octopuses
[699] Extremes costs of getting on line
[693] The on line booking experience
[677] Sympathetic development
[652] Morning Post
[628] Active Learning
[627] JIT or JAU
[621] And the staff put the icing on the cake
[619] If its Sunday, it must be the Norland
[609] Been on a course, but still not got it?
[587] Job vacancy - double agent wanted
[585] Looking for Python staff
[571] Well House Manor
[569] Instructions for bright people
[566] May all your screw-ups be big ones
[555] Hotel novelties
[552] Keeping Customers Informed
[545] Is training seasonal?
[536] Cancellations and penalties
[514] Crazy Day-sies
[503] 10 years C# knowledge please
[491] Being atypical is typical
[487] On line course booking - credit card protection
[482] Different ways of selling
[480] New look to website
[470] I wanna be a Python trainer
[467] Tell them three times
[458] Final courses of '05 coming up ....
[457] Do the work and take the risk - a PHP contract to avoid
[440] Upgrade!
[438] Fair system for travel and accommodation expenses
[408] Can an older person learn a programming language
[407] Theft of training material
[402] Netless
[399] simplicity hides real size
[398] Training course material - why we write our own
[393] Trainer answers phone
[389] Tough Love
[385] Feast or famine
[350] Want to be one better
[327] How far should our support go
[321] Sales - the alternative close
[297] A reminder that the customer is King
[285] What career opportunities for web designers
[281] What they are saying about our OF COURSE newsletter
[265] Business practise, 2005 style
[253] Finding the right holes
[251] WIBNIF
[233] Giving customers best value
[226] Growing our systems
[217] Use of time
[211] Look after your staff and they'll look after you. AOL.
[203] Holes in on line information
[200] Tips for the top
[198] A new skill may not be quick and easy
[195] Customer service - examples to warn us
[189] Tuesdays and Fridays
[188] Pink elephant and appreciation
[180] Skunk works
[171] Skills and techniques of being a successful trainer
[157] Automatic service upgrades
[150] Confession
[137] Certification schemes
[129] Trawling our site to prevent student copying
[126] Feedback shows the tip of an iceberg
[125] Staff theft
[121] Fair and Simple
[108] A typical morning
[95] Five red flags
[91] On line every 24 hours
[88] Getting the right level of trainer
[77] Telephone systems
[72] On Customer Service
[68] Get the strategy worked out and the tactics just fall into place.
[57] Posting 1000 letters!
[27] Sales technique
[17] Differing tastes
[15] 90 to 10 or 80 to 20 rule
[9] Study room - the Oxford train
[7] Writing on a Sunday
[4] Seeing the wood for the trees.
Top or Show all for Running a training and hotel company

Well House Manor - Hotel and Training Centre
[2014] First Class - (new - 2009-01-29)
[1968] Review of 2008 - (new - 2008-12-31)
[1929] 2009 - Hotel, Meeting, Training Course prices
[1907] Melksham Hotel Rates
[1866] What a difference a day made
Top or Show all for Well House Manor - Hotel and Training Centre

For the Webmaster, Postmaster and moderator
[2056] Web Site Loading - experiences and some solutions shared - (new - 2009-02-26)
[2052] How was my web site compromised? - (new - 2009-02-24)
[2033] Huawei D100 Wireless Router - Mobile Internet - (new - 2009-02-10)
[2019] Baby Caleb and Fortune City in your web logs? - (new - 2009-01-31)
[1993] Load Balancing - Hardware or Software? - (new - 2009-01-15)
[1984] Site24x7 prowls uninvited - (new - 2009-01-10)
[1982] Cooking bodies and URLs - (new - 2009-01-08)
[1978] From spam to mod_alias - finding resources - (new - 2009-01-05)
[1971] Telling Google which country your business trades in - (new - 2009-01-02)
[1970] Plagarism - who is copying my pages? - (new - 2009-01-02)
[1967] LinkedIn - Thrice Asked, and joined. - (new - 2008-12-30)
Top or Show all for For the Webmaster, Postmaster and moderator

General Programming Topics
[2048] Learning to program in PHP, Python, Java or Lua ... - (new - 2009-02-19)
[2022] Pre and post increment - the ++ operator - (new - 2009-02-03)
[2001] I have not programmed before, and need to learn - (new - 2009-01-19)
[1990] Speaking all the languages - (new - 2009-01-12)
[1985] Learning to program as a part of your job - (new - 2009-01-10)
[1976] Where is this IP address, IPv4 and IPv6 - (new - 2009-01-04)
[1963] Best source to learn Java (or Perl or PHP or Python) - (new - 2008-12-28)
Top or Show all for General Programming Topics

PHP - the language and its application
[2051] A Presentation about our company - web and PHP - (new - 2009-02-23)
[2046] Finding variations on a surname - (new - 2009-02-17)
[2031] Choosing from an image with an image map - (new - 2009-02-08)
[2025] Injection Attack if register_globals in on - PHP - (new - 2009-02-04)
[1995] Automated server heartbeat and health check - (new - 2009-01-16)
[1983] Keeping PHP code in database and running it - (new - 2009-01-09)
Top or Show all for PHP - the language and its application

Java and the Java Environment
[2058] Invoker and cgi servlets on Tomcat 6 - (new - 2009-02-27)
[2036] Java Tag Libraries / how they work / Tomcat Deployment - (new - 2009-02-11)
[1910] Java - Generics
[1909] javax.servlet cannot be resolved - how to solve
[1908] Java CLASSPATH explained
Top or Show all for Java and the Java Environment

Around, about and nearby to Wiltshire
[1930] Bath Christmas Market
[1859] Wiltshire at dawn - the tourist trail
[1851] Pictures from a delegate
[1846] Old Piles of the South West
[1834] Seend, near Melksham, Wiltshire
Top or Show all for Around, about and nearby to Wiltshire

The Perl Programming Language and its use
[2047] Small Web Server in Perl - (new - 2009-02-18)
[2045] Does robots.txt actually work? - (new - 2009-02-16)
[1951] Whisky - Setting and reading cookies from Perl
[1947] Perl substitute - the e modifier
[1946] Variable Types in Perl
Top or Show all for The Perl Programming Language and its use

Client Side Languages (HTML, CSS, Javascript)
[1998] Text on a background image - (new - 2009-01-16)
[1926] Flash (client) to PHP (server) - example
[1831] Text formating for HTML, with PHP
[1814] Javascript/HTML example, dynamic server monitor
[1813] Ajax - going Asyncronous and what it means
Top or Show all for Client Side Languages (HTML, CSS, Javascript)

Ruby and Ruby on Rails
[1891] Ruby to access web services
[1890] MySQL database from Ruby - an example
[1889] Ruby mixins, modules, require and include
[1887] Ruby Programming Course - Saturday and Sunday
[1875] What are exceptions - Python based answer
Top or Show all for Ruby and Ruby on Rails

SQL and MySQL
[2053] What a difference a MySQL Index made - (new - 2009-02-25)
[1935] Summary of MySQL installation on a Linux system
[1885] Hiding a MySQL database behind a web page
[1771] More HowTo diagrams - MySQL, Tomcat and Java
[1766] Diagrams to show you how - Tomcat, Java, PHP
Top or Show all for SQL and MySQL

Tcl, Tcl/Tk and Expect
[2040] Error: Cant read xxxxx: no such variable (in Tcl Tk) - (new - 2009-02-14)
[1785] What is running on your network? (tcl and expect)
[1782] Calling procs in Tcl and how it compares to Perl
[1614] When an array is not an array
[1613] Regular expression for 6 digits OR 25 digits
Top or Show all for Tcl, Tcl/Tk and Expect

Programming in Lua
[1847] Lua - IAQ (Infrequently Answered Questions)
[1845] Passing a table from Lua into C
[1844] Calling functions in C from your Lua script - a first HowTo
[1842] Lua Course, and the Wiltshire Countryside too
[1841] Formatting with a leading + / Lua and Perl
Top or Show all for Programming in Lua

Python Programming
[2020] Learning Python - many new example programs - (new - 2009-01-31)
[2018] UnboundLocalError - Python Message - (new - 2009-01-31)
[2017] Python - a truly dynamic language - (new - 2009-01-30)
[2013] wxPython - Introduction and sample - (new - 2009-01-29)
[2011] Conversion of OSI grid references to Eastings and Northings - (new - 2009-01-28)
Top or Show all for Python Programming

And also ...
[2037] The Interview and The Lift - (new - 2009-02-12)
[2034] Through Snow and Flood to Linux and Tomcat - (new - 2009-02-10)
[2030] The final step to being British - (new - 2009-02-07)
[2029] Also for the eyes of the cat - (new - 2009-02-07)
[2027] Who sticks by you in the snow? - (new - 2009-02-05)
[2008] The Month Ahead - What is happening in Melksham - (new - 2009-01-25)
[2006] Contrast - (new - 2009-01-23)
[2000] 2000th article - Remember the background and basics - (new - 2009-01-18)
[1992] A good time to travel - (new - 2009-01-14)
[1981] Bitter cold - (new - 2009-01-07)
Top or Show all for And also ...

Public Transport
[2057] Train and Coach fares from London (and airports) to Melksham - (new - 2009-02-26)
[2042] Wiltshire Rail Service Update - (new - 2009-02-15)
[2026] Melksham Climate Friendly Group - (new - 2009-02-05)
[2024] Carry on Training - in spite of the weather - (new - 2009-02-03)
[1999] How low can you sink? - (new - 2009-01-17)
[1986] Walk to Bowerhill - (new - 2009-01-10)
[1965] How much does a train service actually cost - (new - 2008-12-29)
[1964] Why hasnt the fiasco been put right - (new - 2008-12-29)
Top or Show all for Public Transport

Fun and Flames
[2050] Why the Pony Tail? - (new - 2009-02-21)
[2028] Things people say on the phone - (new - 2009-02-06)
[2009] The Royal Mail Receipt - (new - 2009-01-26)
[1988] Melksham, Wiltshire. Town Crier Competition, 2009 - (new - 2009-01-11)
[1980] Michelle - (new - 2009-01-06)
[1977] Going round the block - (new - 2009-01-04)
[1972] Pettifog and forum boards away from public view - (new - 2009-01-03)
Top or Show all for Fun and Flames

Keynote Articles
[1955] How to avoid duplicating web page maintainance
[1857] November and December Public Course Schedule
[1773] The Longest Possible Day
[1414] What we teach - expained for the non-technical
[1317] 2008 course schedule - Perl, Python, PHP, Linux, Java Deployment, Ruby and more
Top or Show all for Keynote Articles

Linux and Shell Programming
[2035] 1234567890 ... coming up on Friday 13th - (new - 2009-02-11)
[2023] sw_vers - what version of OSX am I running? - (new - 2009-02-03)
[1903] daemons - what is running on my Linux server?
[1902] sstrwxrwxrwx - Unix and Linux file permissions
[1893] Some Linux and Unix tips
Top or Show all for Linux and Shell Programming

Public Transport Training from Well House Consultants And also ... Tcl, Tcl/Tk and Expect Programming in Lua Python Programming Well House Manor - Hotel and Training Centre Apache HTTP and Tomcat Servers The Perl Programming Language and its use Ruby and Ruby on Rails PHP - the language and its application C and C++ Programming Linux and Shell Programming Melksham SQL and MySQL For the Webmaster, Postmaster and moderator Java and the Java Environment Fun and Flames Running a training and hotel company Around, about and nearby to Wiltshire Client Side Languages (HTML, CSS, Javascript) Keynote Articles General Programming Topics

A little more about this newsletter ...

At Well House Consultants, we run niche IT training courses ... and we run a hotel for delegates on those courses and other visitors to Melksham too. And we make a lot of friends - have a lot of ambassadors with whom we want to keep in touch. So every day Graham (that's me, writing this piece) puts together an article or two which might include the latest sample programs that I've written during the current course, new information about Well House Manor - our business hotel, tips on search engine optimisation, announcements of upcoming public courses, pictures of local places, and even (on occasions) rants and whimsical pieces to keep those friends up to date and in touch. The feeds are available directlt via the Blog - "The Horse's Mouth", they're on our Twitter Feed and you can find me at my LinkedIn profile. But most people just want to look us up occasionally - every month or two, and then to catch up on the latest news just for their particular subjects of interest ... and that's what this newsletter is about

You'll find above the titles of ALL the new articles written in the last two months, listed by major subject area, and showing as (new) with their date of publication. You'll find additional articles in each category too - topping each category up to a minimum of five articles. And you'll find a link at the end of each section which lets you expand that section to show the titles of every article that's been published in that section. After all, "the old ones are often the best ones", aren't they?

go to Top or other editions January 2009November 2008September 2008July 2008May 2008March 2008January 2008November 2007September 2007 • or current edition


Training sample © 2025, WELL HOUSE CONSULTANTS LTD
This is http://www.wellho.net/demo/newsletter.php
Well House Manor • 48 Spa Road • Melksham, Wiltshire • United Kingdom • SN12 7NY
Phone: +44 (0) 1225 708 225 • EMAIL: info@wellho.net • WEB: http://www.wellho.net