> > WinNT comes with "Personal Web Server" (PWS) which is how I'm learning
Perl
> > CGI.  You can put your scripts in C:\Inetpub\wwwroot\cgi-bin.  You can
then
> > run them by going to:
> > your_homepage\cgi-bin\your_script.pl.  I'm not sure if Windows 98 comes
with
> > PWS.  Sorry I couldn't be of more help - just learning myself.
>
> Depending on what version of Windows NT you have, you may even have IIS as
> part of your system (I think you need the server version with SP 4 and
> higher).  There's also Apache, which can be built on NT and Win2K.
> Again, though, don't know what things Windows 98 will support.  I think
> Personal Web server may be the only thing.

I too had the same problem of tring to run CGI scripts under Windows 98. I
tried running them from the command line and they worked fine, but I wanted
to get a feel for them in the browser.
I thought I was doomed until I discovered the wonders of Apache. Go here
http://httpd.apache.org/docs/windows.html for instructions on using and
downloadin Apache for Win32 (You will also need the Microsoft Installer, but
the page contains information on getting it).
Instead of the normal shebang line, have "#!PERL" at the top of your script
and plop the script in C:\Program Files\Apache Group\Apache\cgi-bin\ (Or
what ever directory you installed Apache in), and you should get normal
output to the browser (Remember to include the MIME content line though).

Hope this helps.
-Cheers, Scott.



-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to