|
Windows NT, CGI, and Perl
Does
this system have a Perl interpreter installed? If so, what version(s)
of Perl are available.
Yes.
We are running the latest release of ActiveState Perl 5. This should
also be backwards compatible with anything you might have that uses
an older version.
What is the magic script comment line to make a Perl script file execute?
(e.g., #!/usr/bin/perl) In Windows NT, how do I call a Perl CGI script
from my Web pages?
On
NT, files will execute by their file extensions, i.e., .pl and .cgi.
The NT IIS web server automatically executes files with these predefined
extensions.
What, if any, are the required filename extensions for CGI programs (e.g.,
.cgi, .pl, .bin)
Currently,
.pl and .cgi will work fine.
Are
my scripts required to reside in a special directory? If so, what is it
called (e.g., cgi-bin, cgi, htbin etc) Are there any directory names I
cannot use?
No.
Just let us know what directories you are using and what permissions
(executable, writable, etc.) you will need on any specific files or
directories. Scripts will run natively from ANY directory without permission
changes. Executables (.exe) are not permitted on these servers for security
purposes.
What
operating system does the Web server use?
Windows
NT Server 4.0 with Service Pack 6a or Windows 2000 Server
Can
I use the SSI #exec command on this Web server?
#exec
directive is always disabled for security reasons.
Do
I need to change anything to activate the SSI feature (e.g., modify a
.htaccess file etc.)?
No.
Do
my HTML files need a special extension to use SSI (e.g., .shtml)?
Yes.
Please use .shtml or .shtm for SSI
|