The Well House Newsletter - Thursday, 1st January 2009
About us and this newsletter [link] ...
Previous editions: November 2008September 2008July 2008May 2008March 2008January 2008November 2007September 2007July 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
[1945] Summary - Apache httpd build on Linux - (new - 2008-12-14)
[1944] Forwarding session and cookie requests from httpd to Tomcat - (new - 2008-12-14)
[1943] Port and Glasses - (new - 2008-12-14)
[1941] Server - Service - Engine - Host, Tomcat - (new - 2008-12-14)
[1940] URL rewriting with front and back servers - (new - 2008-12-14)
[1939] mod_proxy_ajp and mod_proxy_balancer examples - (new - 2008-12-13)
[1901] XML, HTML, XHTML and more - (new - 2008-11-23)
[1899] Virtual Hosting under Tomcat - an example - (new - 2008-11-22)
[1896] Virtual Hosts and Virtual Servers - (new - 2008-11-20)
Top or Show all for Apache HTTP and Tomcat Servers

C and C++ Programming
[1675] Comparing Objects in C++
[1674] What a lot of files! (C++ / Polymorphism demo)
[1671] Compiling C programs with gcc - an overview
[1670] Dynamic Memory Allocation in C
[1669] What are Unions (C programming)
Top or Show all for C and C++ Programming

Melksham
[1966] Background to the TransWilts Train Fiasco - (new - 2008-12-29)
[1937] Getting hold of the wrong end of the stick - (new - 2008-12-12)
[1934] Lidl opens in Melksham - (new - 2008-12-11)
[1928] Melksham Oak Community School, Melksham, Wiltshire - (new - 2008-12-07)
[1904] Ruby, Perl, Linux, MySQL - some training notes - (new - 2008-11-23)
[1894] Shopping in Melksham - (new - 2008-11-19)
[1892] Melksham Chamber of Commerce and Industry - (new - 2008-11-17)
[1883] Spa Road Garage and Convenience Store, Melksham - (new - 2008-11-14)
[1881] Wiltshire Council says - part 1 - (new - 2008-11-13)
[1880] Melksham Chamber of Commerce, or the FSB - (new - 2008-11-12)
Top or Show all for Melksham

Training from Well House Consultants
[1933] Learning to Program in C - (new - 2008-12-10)
[1932] Training Passports - booking a training program - (new - 2008-12-09)
[1898] Every cloud has a silver lining - (new - 2008-11-21)
[1874] Is it worth it? - (new - 2008-11-07)
[1867] Domain Renewal Group - (new - 2008-11-02)
Top or Show all for Training from Well House Consultants

Running a training and hotel company
[1957] Why are cooks bad tempered? - (new - 2008-12-22)
[1950] Copyright of Training Notes and Web Site - (new - 2008-12-18)
[1948] Blame Culture - (new - 2008-12-17)
[1927] Team changes at Well House - looking forward - (new - 2008-12-06)
[1915] Quietly putting prices up - (new - 2008-12-02)
[1913] Alastair Darling helps make paperwork and confusion - (new - 2008-11-30)
[1900] Table Topics - (new - 2008-11-22)
[1884] Recession? Depression? - (new - 2008-11-14)
[1877] Guests doing a bunk? - (new - 2008-11-09)
Top or Show all for Running a training and hotel company

Well House Manor - Hotel and Training Centre
[1968] Review of 2008 - (new - 2008-12-31)
[1929] 2009 - Hotel, Meeting, Training Course prices - (new - 2008-12-07)
[1907] Melksham Hotel Rates - (new - 2008-11-25)
[1866] What a difference a day made - (new - 2008-11-02)
[1824] Which is your best hotel room?
Top or Show all for Well House Manor - Hotel and Training Centre

For the Webmaster, Postmaster and moderator
[1967] LinkedIn - Thrice Asked, and joined. - (new - 2008-12-30)
[1961] Making our things easier to find - (new - 2008-12-26)
[1954] mod_rewrite for newcomers - (new - 2008-12-20)
[1912] Book now for 2009 - (new - 2008-11-29)
[1895] Comparison - with and without flash - (new - 2008-11-20)
[1888] Find the link - (new - 2008-11-16)
Top or Show all for For the Webmaster, Postmaster and moderator

General Programming Topics
[1963] Best source to learn Java (or Perl or PHP or Python) - (new - 2008-12-28)
[1949] Nuclear Physics comes to our web site - (new - 2008-12-17)
[1864] Object Oriented Perl - First Steps - (new - 2008-11-01)
[1860] Seven new intermediate Perl examples - (new - 2008-10-30)
[1853] Well structured coding in Perl
Top or Show all for General Programming Topics

PHP - the language and its application
[1962] Index Card System for Game Characters in PHP - (new - 2008-12-27)
[1958] PHP - Parse error: syntax error, unexpected $end ... - (new - 2008-12-23)
[1956] Images for Christmas - (new - 2008-12-21)
[1938] Predictive Load Balancing - PHP and / or Java - (new - 2008-12-13)
[1936] Quick Summary - PHP installation - (new - 2008-12-12)
[1923] Making it all worthwhile - (new - 2008-12-04)
[1911] Remember Me - PHP - (new - 2008-11-28)
Top or Show all for PHP - the language and its application

Java and the Java Environment
[1910] Java - Generics - (new - 2008-11-27)
[1909] javax.servlet cannot be resolved - how to solve - (new - 2008-11-26)
[1908] Java CLASSPATH explained - (new - 2008-11-26)
[1906] Long, Longer, Longest in Java - (new - 2008-11-25)
[1562] Java Compiler - needs all classes, compiles them all too
Top or Show all for Java and the Java Environment

Around, about and nearby to Wiltshire
[1930] Bath Christmas Market - (new - 2008-12-08)
[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
[1951] Whisky - Setting and reading cookies from Perl - (new - 2008-12-18)
[1947] Perl substitute - the e modifier - (new - 2008-12-16)
[1946] Variable Types in Perl - (new - 2008-12-15)
[1924] Preventing ^C stopping / killing a program - Perl - (new - 2008-12-05)
[1922] Flurinci knows Raby Lae PHP and Jeve - (new - 2008-12-04)
[1921] Romeo and Julie - (new - 2008-12-04)
[1920] Progress Bar Techniques - Perl - (new - 2008-12-03)
[1918] Perl Socket Programming Examples - (new - 2008-12-02)
[1917] Out of memory during array extend - Perl - (new - 2008-12-02)
[1897] Keeping on an even keel - (new - 2008-11-21)
[1865] Debugging and Data::Dumper in Perl - (new - 2008-11-02)
[1863] About dieing and exiting in Perl - (new - 2008-11-01)
[1861] Reactive (dynamic) formatting in Perl - (new - 2008-10-31)
Top or Show all for The Perl Programming Language and its use

Client Side Languages (HTML, CSS, Javascript)
[1926] Flash (client) to PHP (server) - example - (new - 2008-12-06)
[1831] Text formating for HTML, with PHP
[1814] Javascript/HTML example, dynamic server monitor
[1813] Ajax - going Asyncronous and what it means
[1812] Starting Ajax - easy example of browser calling up server data
Top or Show all for Client Side Languages (HTML, CSS, Javascript)

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

SQL and MySQL
[1935] Summary of MySQL installation on a Linux system - (new - 2008-12-11)
[1885] Hiding a MySQL database behind a web page - (new - 2008-11-15)
[1771] More HowTo diagrams - MySQL, Tomcat and Java
[1766] Diagrams to show you how - Tomcat, Java, PHP
[1754] Upgrade from PHP 4 to PHP 5 - the TRY issue
Top or Show all for SQL and MySQL

Tcl, Tcl/Tk and Expect
[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
[1602] Automating processes through Expect
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
[1925] Introduction to Object Oriented Programming - (new - 2008-12-06)
[1879] Dynamic code - Python - (new - 2008-11-11)
[1878] Pascals Triangle in Python and Java - (new - 2008-11-10)
[1876] Python Regular Expressions - (new - 2008-11-08)
[1873] List Comprehensions in Python - (new - 2008-11-06)
[1871] Optional and named parameters in Python - (new - 2008-11-05)
[1870] What to do with a huge crop of apples - (new - 2008-11-04)
[1869] Anonymous functions (lambdas) and map in Python - (new - 2008-11-04)
Top or Show all for Python Programming

And also ...
[1960] Christmas Survivors - (new - 2008-12-25)
[1959] - - (new - 2008-12-24)
[1953] End of Training, 2008 - (new - 2008-12-20)
[1942] Christmas scenes and events - (new - 2008-12-14)
[1931] Frosty Morning, foggy evening - (new - 2008-12-08)
[1919] Transition - (new - 2008-12-03)
[1916] Why I remember East Grafton - (new - 2008-12-02)
[1914] It must be nearly Christmas - (new - 2008-12-01)
[1882] Wiltshire Council says - part 2 - (new - 2008-11-14)
[1872] Barack Obama wins US Predidency - (new - 2008-11-05)
[1868] Liverpool - a friendly city - (new - 2008-11-03)
[1854] Three Seasonal Pictures
[1838] Oxford in Pictures
[1837] Alfred the Great
[1818] Icelandic Badge
[1810] Middle aged subsidise young and old
[1807] A sad town in the sunlight
[1804] Colvin and Carlisle
[1776] Does fruit and veg drag on?
[1775] Easterholic
[1770] 3 hours from Milton Keynes
[1769] July child ponders on August children
[1755] Istanbul
[1746] London for the visitor, for free
[1740] Vertical London
[1730] Punting on the Cam
[1715] Pictures from South Hampshire
[1714] Hillier Gardens, Hampshire
[1652] Old Sarum airfield brings back fond memories
[1643] A lack of technical content
[1639] Minehead Marauder
[1638] Pictures far apart
[1631] Looking back through some photos
[1627] Amazing family members
[1624] From Freddie the fallow
[1620] Norwich and London
[1617] Steam Engines at Bressingham
[1591] Easter Sunday at 404, The Spa
[1590] All Change, Portsmouth Harbour
[1579] Rome, and the faith of Rome
[1573] Budget tax increases hit vehicle market
[1570] London Midland ... Merrymaker ... Percy Danks
[1546] The geometry of East London
[1540] Chinese New Year
[1537] To Wales - where theres still a toll on the bridge
[1536] A Weekend in Liverpool
[1526] Carers at work - court case changes
[1524] Nottingham - just text!
[1522] Paging Martin Noke, who petitions for more trains from Trowbridge to Swindon
[1489] Pictures of December
[1484] A christmas message
[1483] What have hotels and bananas got in common?
[1481] The Christmas Letter
[1462] 10 training days to Christmas.
[1460] Christmas fare in Ljubljana
[1457] A day in Ljubljana
[1456] Right up to the top of the City
[1454] From Sunday to Monday, from Melksham to the Balkans
[1425] Melksham v Ely
[1400] Dark Dawn
[1398] Someone else's wedding
[1392] Autumnal lighting on a London trip
[1386] New software product for warmblooded programmers
[1385] Delegates of all shapes and sizes
[1309] Dates for Easter - 2008 to 2015
[1308] Good to be home
[1307] Troy, up state New York
[1303] Heading Upstate New York
[1299] In the USA for a few days
[1298] From Leeds
[1293] Weymouth - Sunny Summer Sunday afternoon
[1279] The Gdansk fireball
[1275] Incident in Melksham
[1272] Behind closed doors?
[1269] Party in the Park - review
[1260] An inspirational business talk from one of our prospective MPs
[1247] An afternoon at a public enquiry
[1244] FolksFest Bristol - German beer, Bratwurst and music
[1238] The kind spirit of Melksham
[1234] A review of a week and a trip to Brugge
[1233] Horses of Brugge
[1231] Sur le Continent
[1229] Where am I?
[1216] Five of the best - pictures from London
[1214] New Serieses for the summer on TV
[1209] Where did the Bank Holiday go?
[1204] Spot the difference
[1197] Back off home with our best wishes
[1189] Meet, greet and welcome
[1178] Ducking stool for Melksham?
[1175] Local elections - choosing who to vote for
[1172] May day 2007 in pictures
[1162] Cheddleton, Staffordshire
[1152] Course, right place, right time
[1151] Gordon Dodge, R.I.P.
[1150] Helsinki - what comes naturally
[1147] A picture (mostly in words) of Helsinki
[1143] A course in Helsinki
[1138] The Holiday - unlikely romantic comedy?
[1135] Government pressure on me to shut up after I make the papers
[1120] 1200 miles in 3 days
[1119] The Last Word on the road
[1109] False imprisonment - a contrast from the news
[1107] Weekend Visitors
[1100] Wondering where I have been
[1099] Passenger flows
[1065] Graham Ellis - an Introduction
[1064] Light and shadows at Beach
[1061] Take vehicles off the road - put all the passengers into one
[1060] What a relief from the tax office.
[1057] Selling by phone and Skype - our policy
[1056] Another frantic posting!
[1051] Too busy to blog it - but it's great (mostly)
[1032] Chronic fatigue help - a new discussion forum
[1025] Tomorrow's keywords - London, Training, Course, PHP, Ruby.
[1014] Christmas Season Piccies
[1005] Stirling at night
[1004] Old dog, old tricks
[1003] Room at the Inn, Guy at the station
[992] Enthusiastic, but ....
[980] Street Scene
[978] Wellhouse Manor, Hotel, Melksham
[967] Realistic on line shoot'em up
[958] Plain Ole nice pictures
[953] Christmas in November
[921] French Exchange
[911] Letter Home
[908] And so to Inverness
[905] Not proud to be British
[897] Too much for the National Trust
[886] Signs of Leek
[882] Rocks, hard places, trains and funerals.
[878] Easy criteria to meet
[875] Wilfred Emmanuel-Jones
[870] Autumn comes to Wiltshire.
[843] To join an organisation?
[820] Robert and William Whitworth
[817] Working on Weekend in Wiltshire and others
[810] A bad place for security firms
[794] Perl delegate - much more than just a delegate
[786] First Light, Bootle Docks, Liverpool
[780] Separation and Integration
[778] Weekend in Ireland
[777] On Crosby sands
[772] Training in Liverpool
[771] From cat breeder to Cobol to Perl
[763] Much more that the world cup
[752] Over zealous police activity?
[750] Almost everyone loses
[744] We can offer a room, but we can't operate on a dog
[740] Finishing up in Dhahran
[730] Reading the newspaper and working with other restrictions
[727] A journey, an arrival, a people
[724] Helping mental health through diet, exercise and other lifestyle matters
[713] Pictures from my travels
[706] May day away
[704] Erin Brent - rest in peace
[700] As I walked in to Oxford
[698] Catch up weekend
[696] Is than an uphill or downhill task?
[692] Healthier eating
[685] A couple of days away
[684] Staying in the country
[682] Iran has enriched uranium ...
[678] Why are maps rarely to scale?
[674] Wiltshire to get an extra MP
[671] Both ends of the animal
[670] Architectural Heritage - Devizes
[655] Can some food be TOO different?
[654] Making use of disabled facilities
[650] A person of few words
[645] Lost Camel
[637] Carnival
[635] Odd one out.
[625] February pictures
[623] Behind every face is a person and a story
[620] Familiar names, close to home
[614] News in Ireland
[613] Greetings from Dublin
[612] Coming or going?
[611] Look out for the motor cyclist
[607] On being British
[605] Design your day with a walk
[602] MP face to face
[601] A fond memory of Sir Freddie
[584] Loosing breath with Gerald
[580] What to do with milk
[573] Giving an excuse for Christmas
[557] A new sign
[548] San Francisco
[543] The world didn't stop for Christmas
[541] Christmas is for everyone
[540] Christmas Party
[539] rich and famous
[530] Perl course during the week, getting married at the weekend
[518] Passport office - a much improved system
[516] Open source questions? Anyone can ask.
[505] Would you steal ... petrol? ... a training course?
[473] Looking different in town
[469] Yesterday was Kiss and Ride
[455] A Stengthening day
[446] Up early
[429] Charlie on Monday
[423] A Victorian Lady
[420] Towards Tebay
[416] Mixing up swallows and martins
[415] Campaign Drift and efficiency.
[412] Bristol Balloon Festival
[403] Full circle - made it back to an old haunt
[392] No Smoking
[388] BBQ Season
[384] Managing conflict and disappointment
[377] A Strengthened City
[374] Instant availability
[373] Vik, Iceland to Melksham, England
[370] From Iceland
[368] Vacation Week
[365] Letterbox Pictures
[363] Greetings from Edinburgh
[360] Spring turns to Summer
[335] Sad priorities
[330] An O level comes in handy
[326] UK Tax payment totals and where the money is spent
[313] Making bona fide international marriages more difficult
[301] General Election day, UK
[298] Sharing pictures of Wiltshire
[289] MP for Devizes, Wiltshire
[283] Natural or man-made?
[280] Spotted - the local MP
[275] See 8 but buy 6. See 6 but you can buy 8.
[271] Different course every day
[258] Easter at Well House Consultants
[257] Politics gets nasty. Must be an election coming up.
[238] Difficulties with a trolley
[232] Diverse activities
[228] Beard Justification
[218] Golden Nugget
[216] Cheap purchase - votes paid for with selfish promises
[214] Futility of war?
[207] Canteen Dragon
[206] Fox and Python
[186] Lull
[178] Calling a spade a spade
[169] A pleasure to train
[162] A Change is as good as a rest
[161] Christmas break
[149] Fish stocks
[147] Recent technical articles
[131] Thanksgiving dinner
[110] Friday, busy week!
[106] Far from the sea, but close to the heart
[102] The Romans got it right
[100] Life is frail
[97] What makes a professional photographer?
[96] Variable Scope
[92] Hard work, Hard sell
[81] Caf[83][c2]á keyboards
[70] Red Luas - early life and times
[66] A Taste of Ireland
[65] Ireland
[62] Technical Open House
[60] Birth Notice
[35] Autumn arrives right on time
[33] 10 Years of experience
[30] Bank Holiday
[26] Matching Cat
[21] two plus two equals seven
[20] Not two the same
[19] interesting products and subjects
[14] London - Most expensive city??
[8] How much does fuel cost for an airline flight?
Top or Show all for And also ...

Public Transport
[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)
[1905] A Gold Star for First Great Western Customer Service - (new - 2008-11-24)
[1858] Camera with night vision, youth with no vision
[1848] 30th November - Santa Trip from Melksham
Top or Show all for Public Transport

Fun and Flames
[1952] Small Print - (new - 2008-12-19)
[1886] Keys to friendless churches - (new - 2008-11-15)
[1862] Remember your units - (new - 2008-10-31)
[1839] Job application
[1783] Think before you send
Top or Show all for Fun and Flames

Keynote Articles
[1955] How to avoid duplicating web page maintainance - (new - 2008-12-20)
[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
[1903] daemons - what is running on my Linux server? - (new - 2008-11-23)
[1902] sstrwxrwxrwx - Unix and Linux file permissions - (new - 2008-11-23)
[1893] Some Linux and Unix tips - (new - 2008-11-18)
[1803] FTP passive mode - a sometimes cure for upload hangs
[1801] Will your backups work if you have to restore them?
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 November 2008September 2008July 2008May 2008March 2008January 2008November 2007September 2007July 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