Help. Cannot include .cgi files in my shtml :(
Posted by: Incredible
Posted on: 2006-06-19 21:02:00
I am trying to include an html where I put in a .cgi file outputed unto my main index.shtml. I have no idea on how to do this. I have tried creating .htaccess and put it together in my index.shtml but still have no luck. The page keep displaying the following message error: [an error occurred while processing this directive].
Please help. I have this in my .htaccess file:
Options Includes
AddType text/html shtml
AddHandler server-parsed shtml
This is inside my .cgi file:
#!/usr/local/bin/perl
use strict;
use CGI qw(:standard);
print header;
print h3('Random quotes');
print p('Hello World.');
Edited by Incredible on 06/19/06 09:55 PM (server time).