[Webinar] Streamline your web hosting managementRegister Today

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 161
  • Last Modified:

Server SIde Include (SSI)

i am new to the CGI.. i have written a perl script for counter program.. i want to execute this cgi when  i they access my home page...
fo this i written the html file like this..
<html><head><title>MY PAGE</title></head>
<body>
<hr noshade>
Visitor No :
<!--#exec cgi="/cgi-bin/f8.cgi" -->
<hr noshade>
</body></html>
but this cgi is not executing...
what changes i have to do in my web server configuration files, access.conf,srm.conf . in order to execute the cgi..


0
mon1
Asked:
mon1
1 Solution
 
TYoungCommented:
If the extension is .html then add the following lines to a .htaccess file or any server configuration files.

Options +Includes
AddHandler server-parsed .html


Make sure you have compiled in the mod_includes module when you compiled it. The binary (pre-compiled) version already contains the mod_includes, so there is no need to worry.
0

Featured Post

Upgrade your Question Security!

Your question, your audience. Choose who sees your identity—and your question—with question security.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now