Forum Moderators: bakedjake
The sequence I mentioned came from the top of my head, never tried (exactly like that) but should work.
Make first a template on your favorite web scripting engine (php, for example). That template should have your header/footer and some instances of 'include(foo.inc)' or something like that, where foo.inc is the user's editable page. Then, each time foo.inc is edited the results display on the template. It'll depend heavily on how do you pretend to allow the user to edit.
Now, the fun part. You'll need to configure Apache to use the template for every page the user edits. So, if the user creates bar.html, Apache should call template.php?src=bar.html but not display or even allow the public to see that; therefore needing mod_rewrite and some forbids.