You can do this. Technically I think you can POST to a file, but you don't need to.

You can do this lots of ways, including post-processing the output of a CGI script with a module like CGI::SSI. What I
Tks that way worked except for the #config sizefmt of mod_include

would suggest is writing a script that you will run under Apache::Registry, and calling Apache::Include->virtual('/uri/of/file') to do the includes.
From the documentation of the Apache::Include I couldn't make out whether it handled other features like set which I am using. But your siggestion led me to search on CPAN and found Apache::SSI. That was reasonably well-documented and I was planning on using it except the module couldn't be found. Is it true what was said in one of the other threads -with mod_perl (Apache 1.3.27) the current working directory is different from the dir where the script lies? If so how does one use code organized uder one's own directory? (Need to know this as my host does not want to install modules for me.)

Rgds
Dr

Reply via email to