Run cgi from html

Problems with the Windows version of XAMPP, questions, comments, and anything related.

Run cgi from html

Postby bURov » 14. December 2009 09:00

I wish to start cgi from html.
How it to make?
I do so:
Code: Select all
<body>
   <h1>Counter</h1>
   <!--#exec cgi="/cgi-bin/count.cgi"-->
</body>

But it does not work!
bURov
 
Posts: 5
Joined: 04. December 2009 03:45

Re: Run cgi from html

Postby Izzy » 14. December 2009 09:26

Missing support info - what XAMPP version and which Windows OS?

Make sure your file has the .shtml extension not simply .html so that Apache knows how to handle the request, as you have created a SSI (Server Side Include) file.

Make sure that SSI is enabled - check using the Status menu item in the XAMPP Welcome Demo Page at http://localhost/xampp/index.php
Izzy
 
Posts: 3344
Joined: 25. April 2006 17:06

Re: Run cgi from html

Postby bURov » 14. December 2009 11:45

Sorry
XAMPP Version: 1.7.1
OS: Windows XP SP3 (Russian)

Server Side Includes (SSI): ACTIVATED
bURov
 
Posts: 5
Joined: 04. December 2009 03:45


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 63 guests