<%include /cgi-bin/common-templates/header.txt%> # uses absolute path to include header from central template directory.
But that isn't an absolute path...its relative. Absolute means...
You can already do what you are suggesting....ie using common headers/footers.....use:
...you can use that for your different scripts and it will pickup the same includes directory assuming you have a common structure like: