When you say half the scripts are just printed on the page, is it the same script called multiple times or different scripts? Is it always the same scripts that don't work?
If you're seeing the perl code, that means your server knows enough to include them, so SSI is working. If SSI was broken you'd see an empty spot where the include portion normally goes.
It sounds like whatever mechanism tells your server when to interpret something as perl isn't kicking in. So concentrate on that. Does it key off the file name? Something in the file? Can you replace the includes that don't work with one that does? Try replacing the ones that don't work with a "hello world" script. The point is to reduce the complexity until you can see what's different between the ones that work and the ones that don't.
-
Are you posting in the right place? Check out Where do I post X? to know for sure.
-
Posts may use any of the Perl Monks Approved HTML tags. Currently these include the following:
<code> <a> <b> <big>
<blockquote> <br /> <dd>
<dl> <dt> <em> <font>
<h1> <h2> <h3> <h4>
<h5> <h6> <hr /> <i>
<li> <nbsp> <ol> <p>
<small> <strike> <strong>
<sub> <sup> <table>
<td> <th> <tr> <tt>
<u> <ul>
-
Snippets of code should be wrapped in
<code> tags not
<pre> tags. In fact, <pre>
tags should generally be avoided. If they must
be used, extreme care should be
taken to ensure that their contents do not
have long lines (<70 chars), in order to prevent
horizontal scrolling (and possible janitor
intervention).
-
Want more info? How to link
or How to display code and escape characters
are good places to start.
|