You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Warron French <wf...@xtria.com> on 2004/12/08 17:34:40 UTC
[users@httpd] CGI scripts
Hello all,
I have 2 servers, let's just label them as ti-dev (for development) and tinet (the production server). Both are Running Linux, however the production Server is running RH ES Linux 3.0 and the development box is running RH 9.0. Both have the CGI RPM installed.
The production server called tinet is running by way of the RPM perl-CGI-2.81-88.7.i386.rpm and the development server (ti-dev) is running with perl-CGI-2.81-88.3.i386.rpm.
Tinet is running Apache-2.0.52, and ti-dev is running Apache-2.0.40.
My problem:
ON ti-dev the following occurs with CGI scripts:
at a unix shell: the cgi/perl script produces the HTML coding.
in the web browser: the cgi/perl script produces the HTML page as we expect it to look like.
ON Tinet however, the following occurs with CGI scripts:
at a unix shell: the cgi/perl script produces the HTML coding.
in the web browser: the actual perl script code shows within the browser.
Is there a feature or "statement" I forgot to make on the Tinet server that would explain this difference?
Thank you all for your assistance in advance, and have a ...
Merry Christmas & Happy New Year!
Warron French
Sr. Network Engineer
Xtria, LLC
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
Re: [users@httpd] CGI scripts
Posted by Sean T Allen <se...@usaherbals.com>.
1. You need to make sure on the production box that the script is executable
2. You need to make sure you have the proper ScriptAlias setup on the
production box.
Warron French wrote:
>Hello all,
>
>I have 2 servers, let's just label them as ti-dev (for development) and tinet (the production server). Both are Running Linux, however the production Server is running RH ES Linux 3.0 and the development box is running RH 9.0. Both have the CGI RPM installed.
>
>The production server called tinet is running by way of the RPM perl-CGI-2.81-88.7.i386.rpm and the development server (ti-dev) is running with perl-CGI-2.81-88.3.i386.rpm.
>
>Tinet is running Apache-2.0.52, and ti-dev is running Apache-2.0.40.
>
>My problem:
>
>ON ti-dev the following occurs with CGI scripts:
>at a unix shell: the cgi/perl script produces the HTML coding.
>in the web browser: the cgi/perl script produces the HTML page as we expect it to look like.
>
>ON Tinet however, the following occurs with CGI scripts:
>at a unix shell: the cgi/perl script produces the HTML coding.
>in the web browser: the actual perl script code shows within the browser.
>
>
>
>Is there a feature or "statement" I forgot to make on the Tinet server that would explain this difference?
>
>Thank you all for your assistance in advance, and have a ...
>
>
>Merry Christmas & Happy New Year!
>Warron French
>Sr. Network Engineer
>Xtria, LLC
>
>
>---------------------------------------------------------------------
>The official User-To-User support forum of the Apache HTTP Server Project.
>See <URL:http://httpd.apache.org/userslist.html> for more info.
>To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
> " from the digest: users-digest-unsubscribe@httpd.apache.org
>For additional commands, e-mail: users-help@httpd.apache.org
>
>
>
>