Discussion Overview
The discussion revolves around the possibility and methods of calling a CGI script from an HTML page, specifically in the context of creating a webpage counter. Participants explore various approaches and configurations related to web server settings and HTML elements.
Discussion Character
- Technical explanation
- Exploratory
Main Points Raised
- One participant inquires about the feasibility of calling a CGI program from an HTML page while designing a counter.
- Another participant suggests modifying the Apache configuration to enable CGI execution.
- A different participant clarifies that HTML does not 'call' CGI programs directly, but can reference them if the web server is configured correctly.
- It is proposed that a counter program could be included in an HTML document using an
tag to display the output.
- An alternative method is suggested using an
- A participant mentions using Server Side Includes (SSI) as a simpler method for including CGI output in HTML, detailing the necessary syntax and server requirements.
- There is a note that the server must be configured for SSI, and that the default settings may vary.
Areas of Agreement / Disagreement
Participants present multiple methods for calling CGI scripts, with no consensus on a single best approach. Various configurations and techniques are discussed, indicating differing opinions on the optimal solution.
Contextual Notes
Some limitations include the need for specific server configurations for CGI and SSI, as well as the requirement for the host page to have a particular file extension for SSI to work. There is also uncertainty regarding the default server settings for SSI.