I am building small company websites and I need to include a small CMS tool so that my clients can update their websites. I use Perl (CGI::Application, HTML::Template, etc.) to generate my pages. I have one index.cgi file that is called upon, I call one main.thtml template and within that file I substitute between several sub.thtml templates. Straightforward..., but, the CMS tools don't like this aproach at all. They want my index.cgi file to be an old fashioned .html file. On my webserver I have permission to have .cgi files whereever I want, but what if I wasn't? What if I had to have my .cgi files inside the cgi-bin?
Basically, I just want to know the best approach to deal with this.