> The only thing that's been hooping me up so far in the
> inability to do these two types of includes:
>
> <!--#include virtual="/some/file.html">

This should work

> <!--#exec cgi="/cgi-bin/list-stuff.cgi">
>

This can't work, because a cgi script always sends out it's output directly
to the browser and not using Embperl output layer. It may be possible to get
this working with optEarlyHttpHeader, but I never tried it (and removing the
die "unimplemented" in Embperl/Syntax/SSI.pm")

> I realize that doing the #exec cgi is bad, as it causes another perl
> interpeter to be forked, even when running under mod_perl. My goal is to
> replace all these #exec CGI calls with similiar calls to Embperl
> objects. If this can be done using the Embperl SSI syntax calls, that
> means we don't have go through and change all the 3-400 files (mostly
> static HTML, but some Apache::Registry scripts and mod_perl handlers as
> well)...

That should be possible, as long as you don't have CGI scripts that runs
outside of Apache

> all we need to do is change the header SSI (/header.ssi) to do
> this instead:
>
> <!--#include embperl="/list-stuff.epl">
>

Should this be a replacement for [- Execute ('/list-stuff.epl') -] ?

If yes, it should be esay to add to Embperl/Syntax/SSI.pm

Gerald


-------------------------------------------------------------
Gerald Richter    ecos electronic communication services gmbh
Internetconnect * Webserver/-design/-datenbanken * Consulting

Post:       Tulpenstrasse 5         D-55276 Dienheim b. Mainz
E-Mail:     [EMAIL PROTECTED]         Voice:    +49 6133 925131
WWW:        http://www.ecos.de      Fax:      +49 6133 925152
-------------------------------------------------------------




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to