[San-Diego-pm] SSI problem

Chris Grau chris at chrisgrau.com
Wed Apr 4 13:58:37 PDT 2007


On Wed, Apr 04, 2007 at 12:59:43PM -0700, Joel Fentin wrote:
> I have a personal Apache 2 server in my laptop.
> I can't get a perl script to run via SSI from a .shtml file. Here is
> that file:
> 
[snip]
>      111111
>          <!--#INCLUDE VIRTUAL="/cgi-bin/Pat/Galaxy/DispTopBanner.pl"-->
>      222222
>          <!--#EXEC CGI="/cgi-bin/Pat/Galaxy/DispTopBanner.pl"-->
>      333333
>      <!--#include file="Source.txt"-->
> 
[snip]
> 
> The number one gives me:
> [an error occurred while processing this directive]
> 
> The number two gives me nothing.
> 
> The number three gives me the text I asked for.
> 
> I've been in the httpd.conf file of Apache trying this and that to no
> avail.
> 
> If I purposely place an error in DispTopBanner.pl, I get an error
> message. But I can't get anything else from it.
> 
> Any ideas or help appreciated.

What does /cgi-bin/Pat/Galaxy/DispTopBanner.pl return when requested
directly by a web browser?

Is there anything in the Apache error log?  I think the SSI directives
will report errors there.  It's been a while since I've used SSI,
though.

-chris
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://mail.pm.org/pipermail/san-diego-pm/attachments/20070404/96913ce5/attachment.bin 


More information about the San-Diego-pm mailing list