In the Perl32 FAQ it says
>>
3. Is it possible to get https (EMWAC) to run a perl script?
EMWAC and NT Perl5 work just fine together. Emwac handles CGI
scripts in a slightly different way than most Web servers, however.
When you specify the URL for a perl script, you need to specify the
perl5 program, and the path to your perl script relative to your http
document directory. For example:
http://www.foo.com/cgi-bin/perl.exe?cgi-bin/archie.pl On the Netscape
NT server, this would be http://www.foo.com/cgi-bin/perl.exe?archie.pl
This would run the archie.pl script in your /https/cgi-bin/archie.pl
directory, assuming that perl.exe is also in your cgi-bin directory.
>>
Actually - you don't need to do this. I don't know who to mail to get
this changed, so I thought I'd post it here.
I have EMWAC (0.99) and Perl for NT (build 091-i86) running and have
successfully run perl scripts with just
http://www.foo.com/cgi-bin/archie.pl
As long as you _File_Associate .pl files with perl.exe it works, and
makes it a hell of a lot safer from malicious browsers with a format
C: in mind.
BTW, I'm wondering if anyone has a find&replace perl script written at
all. I have a series of text documents and would love to be able to
hand the file, old text, and new text to a perl script instead of
having to open up each file and manually find & replace each one.
If you have one - could you please email it to me. I'm only just
getting my feet wet with Perl, and it seems a daunting task to do
first off.
...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 -=-=-=-=-=-=-=-=-=-=-
>>
3. Is it possible to get https (EMWAC) to run a perl script?
EMWAC and NT Perl5 work just fine together. Emwac handles CGI
scripts in a slightly different way than most Web servers, however.
When you specify the URL for a perl script, you need to specify the
perl5 program, and the path to your perl script relative to your http
document directory. For example:
http://www.foo.com/cgi-bin/perl.exe?cgi-bin/archie.pl On the Netscape
NT server, this would be http://www.foo.com/cgi-bin/perl.exe?archie.pl
This would run the archie.pl script in your /https/cgi-bin/archie.pl
directory, assuming that perl.exe is also in your cgi-bin directory.
>>
Actually - you don't need to do this. I don't know who to mail to get
this changed, so I thought I'd post it here.
I have EMWAC (0.99) and Perl for NT (build 091-i86) running and have
successfully run perl scripts with just
http://www.foo.com/cgi-bin/archie.pl
As long as you _File_Associate .pl files with perl.exe it works, and
makes it a hell of a lot safer from malicious browsers with a format
C: in mind.
BTW, I'm wondering if anyone has a find&replace perl script written at
all. I have a series of text documents and would love to be able to
hand the file, old text, and new text to a perl script instead of
having to open up each file and manually find & replace each one.
If you have one - could you please email it to me. I'm only just
getting my feet wet with Perl, and it seems a daunting task to do
first off.
...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 -=-=-=-=-=-=-=-=-=-=-