[ back to toc ]

call gi scripts from html code

Date: 2002/03/09 01:29

Q:
Hi,
my question is farely simple.
i want to know how do you execute cgi or perl scripts or rather call them
from within html code.
i was told you need to use ExecCGI but i need to know the complete syntax
and also any other ways to do it.
i use apache web server 1.3 and am able to execute the perl script
separately without any problems.
Thanx in advance.
A:
You do not evenneed an HTML page to start a CGI program. The only thing is
that the URL that the browser tries to open is served by a CGI program.
This means that the Apache server that you have should be configured to
treat certain directories as CGI directories and start the files as
external processes whenever they are referenced by an URL.

Regards,
Peter

[ back to toc ]