|The stupid question is the question not asked|
Answer: How do i enable my win98 system to run/test CGI scripts that i've written ?by vrempire (Sexton)
|on Oct 23, 2000 at 12:17 UTC||Need Help??|
Q&A > CGI programming > How do i enable my win98 system to run/test CGI scripts that i've written ? - Answer contributed by vrempire
<html><head><title></title></head> <body> Well, to test my cgi script, i done it by using the Personal Web Server 98.
First, you need to get the Windows 98 cd and find the setup file to install the PWS 98 into your local PC.
If you use Windows 95, you can get it free by downloading the PWS 95 from the Internet.
After you have install the PWS 98 inside your PC,then you can see that inside the directory which you install the PWS 98, for example C drive,
there will be a directory named 'localhost'.
The localhost folder is some sort like the remote server where you placed all your files, html and cgi that you want to publish on the net.
Inside the 'localhost' folder, you can see the 'wwwroot' folder and 'cgi-bin' folder.
'wwwroot' is used to put the html or htm files in it, whilst 'cgi-bin' folder is used to put the cgi and perl files in it.
Now, you need to configure the path from the 'cgi-bin' folder to the Perl program inside your PC.
For this, you need to have the Perl program inside the PC such as the ActiveState Perl from Active State website
To configure the path, you need to open the regedit from Start-->Run-->Regedit
Here is the url for you to do the step-by-step instruction on how to use the Perl with PWS