[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[cobalt-users] SSI not executing properly



I have followed the instructions in the kb to implement SSI on my RaQ2.
However, they are not working properly.  Instread of executing the SSI as a
CGI script, it is treating the included file as HTML.  The SSI's are not
executing, they are simply being printed to the browser.  I must have missed
a step somewhere.  Can any one help?

I am using the following command:

<!--#include virtual="/cgi-bin/myfile.pl">

I have attempted to mimick the examples in the email archives:

<!--#exec cgi="/cgi-bin/myfile.pl">
<!--#exec cmd="/cgi-bin/myfile.pl">

The first example, using #include, prints the Perl script to the browser but
does not execute.

The last two examples do nothing.  Not even an error.  I guess it is
treating the command as a comment in HTML.

I have made changes to the files as instructed in the knowledgebase.  I have
also attempted to include a .htaccess file in the directory as demonstrated
in the e-mail archives.  I have the following lines in the .htaccess file

AddHandler server-parsed .shtml
AddHandler server-parsed .html
AddType text/x-server-parsed-html .shtml
AddType text/html html .shtml



I appreciate any assistance anyone can give.



Ray Yon
OmegaNet, Inc.