Re: Server headers and footers
- --- In perl-beginner@y..., "Admin" <admin@w...> wrote:
> How do I add a header and footer to web pages with out addinganything to
> the web pages them self.If you can 'trap'/redirect calls to the web pages through a script
you'd write then you'd be able to add a header and footer.
So, a request for:
would be redirected to something like:
You'd extract the stuff from the end of the URL
(ie '/dir1/dir2/file.htm'), print out the header stuff, open the file
and print it and then print the footer.
I don't know how to do the redirection I suggest.