SSI / includes only working intermittently


#1

This one’s weird, and I don’t know how to troubleshoot it. I have a pretty basic Perl script that grabs a random line, and that’s being sourced from a page with <!–#exec cgi=“blah blah”… From the command line, it works every time. When I view it in a browser though, it only works 60-70% of the time. Otherwise, there’s nothing included, and it appears from a couple of tests that it’s not even calling the Perl script.

Any ideas on how to track this down? I can provide more information if needed, but I don’t understand why it’s only working sporadically.


#2

Don’t use exec - DreamHost says to use include - and that means the script needs to output HTTP headers too (ie, it should be a CGI script)

:cool: openvein.org -//- One-time [color=#6600CC]$50.00 discount[/color] on [color=#0000CC]DreamHost[/color] plans: Use ATROPOS7