Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Server Side Includes

Status
Not open for further replies.

sgibbs

Programmer
Jun 29, 2000
3
US
I'm hoping to get some guidance about this -

I wrote a perl script which I want to execute from an html page.

I'm using this line:
<!--#exec cgi=&quot;/cgi-bin/headlines.pl&quot;-->

When I run the HTML, it just includes the command rather than executing it.

From my reading, it looks like I've missed something in the setup for running Server Side Includes (SSI).
Here are the details:
* I'm running Win NT4, sp 6, IIS 4
* the directories are flagged as execute.
* On the home directory tab, as well as the directories where the HTML & PL are located, the default application is enabled.
* On the configuration tab, &quot;.pl&quot; is associated with C:\perl\bin\perl.exe %s %s, which is indeed where Perl is installed (my other scripts run).

I just can't get the exec command to run.

Can anyone help, or point to documentation which is available?

Thanks,
sg
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top