H
Hallvard ?strem
My well tested Perl CGI scripts will not run on my web server after
moving it from Windows NT 4.0 to a brand new Windows 2003 Server. The
web server software is FirstClass Server 7.1 from Open Text Corp.
(http://www.opentext.com/products/firstclass/), and the web server
setup is identical with the setup on NT, which should be OK. Perl
version on Windows 2003 Server is 5.806. Here are some of my
observations:
1. Scripts are running OK from the command prompt on the server, and
the Perl installation looks OK. I've been through the more classical
Perl for win32 pitfalls checks.
2. Client browser returns this message:
---
1.1 200 OK Server: FirstClass/7.1 Content-type: text/html Don't know
how to run /cgi-bin/example.pl
---
(Example.pl is a simple "Hello World" demo which runs OK from the
prompt -- and normally on any web server with CGI-capabillity.)
3. Compiled CGI scripts, e.g. EXE-files, runs OK on the server.
4. Checked out the system PATH environment variable, and it points at
C:\Perl\bin like it should.
5. Web server service is set up with the Local System user account,
and should have the proper access rights.
6. I've installed an Apache test server in order to rule out the
possibility that the problem somehow could be related to my FirstClass
Server setup. The symptoms were almost identical, allthough Apache
returned an not specified "Internal Server Error" message. Compiled
CGI ran OK on Apache as well.
In other words, there must be something in the Windows 2003 Server
setup that I've missed? It seems like FirstClass Server can't find the
Perl interpreter, even though the system PATH is OK. I've been through
loads of FAQs and documentation, but haven't come across a solution so
far. So I'll appreciate a helping hand on this.
Regards,
Hallvard Østrem
moving it from Windows NT 4.0 to a brand new Windows 2003 Server. The
web server software is FirstClass Server 7.1 from Open Text Corp.
(http://www.opentext.com/products/firstclass/), and the web server
setup is identical with the setup on NT, which should be OK. Perl
version on Windows 2003 Server is 5.806. Here are some of my
observations:
1. Scripts are running OK from the command prompt on the server, and
the Perl installation looks OK. I've been through the more classical
Perl for win32 pitfalls checks.
2. Client browser returns this message:
---
1.1 200 OK Server: FirstClass/7.1 Content-type: text/html Don't know
how to run /cgi-bin/example.pl
---
(Example.pl is a simple "Hello World" demo which runs OK from the
prompt -- and normally on any web server with CGI-capabillity.)
3. Compiled CGI scripts, e.g. EXE-files, runs OK on the server.
4. Checked out the system PATH environment variable, and it points at
C:\Perl\bin like it should.
5. Web server service is set up with the Local System user account,
and should have the proper access rights.
6. I've installed an Apache test server in order to rule out the
possibility that the problem somehow could be related to my FirstClass
Server setup. The symptoms were almost identical, allthough Apache
returned an not specified "Internal Server Error" message. Compiled
CGI ran OK on Apache as well.
In other words, there must be something in the Windows 2003 Server
setup that I've missed? It seems like FirstClass Server can't find the
Perl interpreter, even though the system PATH is OK. I've been through
loads of FAQs and documentation, but haven't come across a solution so
far. So I'll appreciate a helping hand on this.
Regards,
Hallvard Østrem