in reply to Generating static HTML pages to view a dynamic website locally

In addition to the other solutions, there's nothing stopping you from running a local webserver to handle the dynamic content. I run websites "locally" on my laptop all the time: I have the same configuration on my laptop as I have on http://www.stonehenge.com for editing and testing new ideas at 30,000 feet while I'm travelling.

Apache would be a good choice for this, or you could construct a mini web-server from HTTP::Daemon that understands the CGI protocol with a few dozen lines of code.

-- Randal L. Schwartz, Perl hacker