Aighearach has asked for the wisdom of the Perl Monks concerning the following question:
I have been placed in the uncomfortable position of doing web design, on a site I'm only supposed to be programming for. Because I don't want to maintain any of the data more than once, I am using ssi to source in the files for the different screen areas. (ads, menus, etc) This is an Apache web server on linux, of course. I'd write it all in Perl, but then I would be stuck maintaining it! No, I want to hand it off as soon as we find an HTML person, and I don't want to require that they know Perl. So here is my problem:
How do I use my ssi template file, and insert the response to a submitted form in it? I don't want to use cookies; I took an Oath not to use them. What I really wish I could do, and maybe there is a way, is to force the apache server to take a pass at what my Perl program produces, so that I can just use an ssi in the script output to parse in the shtml. I know this is not possible in normal CGI, but since I am doing everything in mod_perl, perhaps there is a way to set up the handlers to do this? I could also read the template file in by hand, but this is not efficient. I could open a connection to the web server, and ask for the template shtml, but that also does not seem efficient.
Any Monks know the best way to do this?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: mod_perl and ssi: mixing it up
by btrott (Parson) on May 22, 2000 at 23:57 UTC | |
by mdillon (Priest) on May 22, 2000 at 23:59 UTC | |
by btrott (Parson) on May 23, 2000 at 00:04 UTC | |
|
Re: mod_perl and ssi: mixing it up
by mdillon (Priest) on May 22, 2000 at 23:53 UTC | |
|
RE: mod_perl and ssi: mixing it up
by Aighearach (Initiate) on May 24, 2000 at 05:12 UTC | |
by jptxs (Curate) on Oct 15, 2000 at 01:00 UTC | |
by Aighearach (Initiate) on Nov 05, 2000 at 10:30 UTC |