Page 1 of 1

Run cgi from html

PostPosted: 14. December 2009 09:00
by bURov
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!

Re: Run cgi from html

PostPosted: 14. December 2009 09:26
by Izzy
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

Re: Run cgi from html

PostPosted: 14. December 2009 11:45
by bURov
Sorry
XAMPP Version: 1.7.1
OS: Windows XP SP3 (Russian)

Server Side Includes (SSI): ACTIVATED