Mailing List Archive

ntperl for CGI scripts
ok. I'm stumped.

Could someone out there please give me a hand in getting perl scripts running
under Web documents?

Most of the examples I've managed to find are for Un*x based systems, and
no-one else here [Adelaide Uni] (as far as I am aware) has done anything in
this area.

I've entered the bin & lib etc. details in the NT Registry.
I've registered the PERL files with my Web Server (so it seems to find them).
How do I invoke the scripts?

I'm trying to get info entered into a form appended to a file.
The script itself should be ok as it was lifted from elsewhere (un*x though).

something like:

<form method="POST" action="http://my.web.srv/PERL/perl.exe?/PERL/script.pl">
<form method="POST" action="http://my.web.srv/PERL/perl.exe /PERL/script.pl">
<form method="POST" action="http://my.web.srv/PERL/script.pl">

I've tried variations on the above :-(
but all I get back are messages like - not a document file
- document is not a text file
- no document data

Am I missing something crucial?
BTW, I'm running Superweb beta 0.9 if it makes any difference.

any help would be appreciated
...sage
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Pete Calvert: Commerce, University of Adelaide, Australia, 5005
email : pcalvert@economics.adelaide.edu.au phone : +61 8 303 4237
WWW : http://jeeves.commerce.adelaide.edu.au/calvert/sagehome.htm
-=-=-=-=-=-=-=-=-=-=-=- another page from ...sage -=-=-=-=-=-=-=-=-=-=-
Re: ntperl for CGI scripts [ In reply to ]
In message <01HY7PDBDH92000SS1@hermes.itd.adelaide.edu.au>, pcalvert@ECONOMICS.
ADELAIDE.EDU.AU writes:
>
> I'm trying to get info entered into a form appended to a file.
> The script itself should be ok as it was lifted from elsewhere (un*x though
> ).
>
> something like:
>
> <form method="POST" action="http://my.web.srv/PERL/perl.exe?/PERL/script.pl
> ">
> <form method="POST" action="http://my.web.srv/PERL/perl.exe /PERL/script.pl
> ">
> <form method="POST" action="http://my.web.srv/PERL/script.pl">

Didn't Tom C. just point out how dangerous it is to allow such URLs?

I don't have any experience with the NT web servers but what about a pl2bat
script for CGI-BIN?

>
> I've tried variations on the above :-(
> but all I get back are messages like - not a document file
> - document is not a text file
> - no document data
>
> Am I missing something crucial?
> BTW, I'm running Superweb beta 0.9 if it makes any difference.
>
> any help would be appreciated
> ...sage
> -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
> Pete Calvert: Commerce, University of Adelaide, Australia, 5005
> email : pcalvert@economics.adelaide.edu.au phone : +61 8 303 4237
> WWW : http://jeeves.commerce.adelaide.edu.au/calvert/sagehome.htm
> -=-=-=-=-=-=-=-=-=-=-=- another page from ...sage -=-=-=-=-=-=-=-=-=-=-
>
>
>