[ale] OT: apache2, perl and shtml?

Alex Carver agcarver+ale at acarver.net
Tue Oct 28 18:18:02 EDT 2014


First, what is the actual source that the script spits out when that
print statement executes?  Is it mangled in any way that gets misinterprted?

Second what is your form submit method?

On 2014-10-28 14:25, Robert L. Harris wrote:
> It looks like I have it trying to parse it now but something is wrong with
> the include:
> 
> http://apaste.info/Tot
> 
> 
> 
> On Tue, Oct 28, 2014 at 2:14 PM, Alex Carver <agcarver+ale at acarver.net>
> wrote:
> 
>> On 2014-10-28 08:24, Robert L. Harris wrote:
>>>   I have a .shtml file which has a nice form which runs a perl script in
>>> cgi-bin.  I need the output of the perl script to be read as shtml so I
>> can
>>> include my index.  Anyone know how to tell apache to do this?  I have the
>>> output being printed correctly, apache just isn't honoring the directives
>>> in it.
>>
>> Apache won't interpret the output of a CGI script.  However, you could
>> submit to an shtml file that then has an include for your CGI script in
>> addition to your other directives.  The alternative is to have the CIG
>> script write out its output to an shtml file (including any directives)
>> and then the CGI sends back to Apache a redirect that pulls up the
>> generated file.
>>
>> _______________________________________________
>> Ale mailing list
>> Ale at ale.org
>> http://mail.ale.org/mailman/listinfo/ale
>> See JOBS, ANNOUNCE and SCHOOLS lists at
>> http://mail.ale.org/mailman/listinfo
>>
> 
> 
> 
> 
> 
> _______________________________________________
> Ale mailing list
> Ale at ale.org
> http://mail.ale.org/mailman/listinfo/ale
> See JOBS, ANNOUNCE and SCHOOLS lists at
> http://mail.ale.org/mailman/listinfo
> 



More information about the Ale mailing list