I have a default install of RH8 and apache and every time I run a .cgi or
.pl file it executes but then the browser doesn't display the results, it
asks if you want to download it. All the permissions seem ok and again, the
script runs, it just doesn't display the page. And yes the header
I have a default install of RH8 and apache and every time I run a .cgi or
.pl file it executes but then the browser doesn't display the results, it
asks if you want to download it. All the permissions seem ok and again, the
script runs, it just doesn't display the page. And yes the header
Make sure the following line is uncommented in your apache conf
AddHandler cgi-script .cgi
also add a line below it for .pl scripts like this
AddHandler cgi-script .pl
On Tue, 2003-03-11 at 21:31, Larry Brown wrote:
I have a default install of RH8 and apache and every time I run a .cgi or
On Tue, 2003-03-11 at 20:31, Larry Brown wrote:
I have a default install of RH8 and apache and every time I run a .cgi or
.pl file it executes but then the browser doesn't display the results, it
asks if you want to download it. All the permissions seem ok and again, the
script runs, it just
On Tue, 2003-03-11 at 20:31, Larry Brown wrote:
I have a default install of RH8 and apache and every time I run a .cgi or
.pl file it executes but then the browser doesn't display the results, it
asks if you want to download it. All the permissions seem ok and again, the
script runs, it just
Try something REALLY simple like this.
your browser should be calling http://localhost/cgi-bin/program.pl
create /var/www/cgi-bin/program.pl as follows:
#! /usr/bin/perl
use strict;
print Content-type: text/html\n\n;
print HTML\n;
print BODY\n;
print Hello World\n;
print
)
Subject: Re: RH8 apache problem?
Make sure the following line is uncommented in your apache conf
AddHandler cgi-script .cgi
also add a line below it for .pl scripts like this
AddHandler cgi-script .pl
On Tue, 2003-03-11 at 21:31, Larry Brown wrote:
I have a default install of RH8 and apache
Networks, Inc.
(727) 723-8388
-Original
Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]On
Behalf Of Dennis Kaptain
Sent: Tuesday, March 11, 2003
10:12 PM
To: [EMAIL PROTECTED]
Subject: RH8 apache problem?
Try something
REALLY simple like this.
your browser should
Kaptain
Sent: Tuesday, March 11, 2003
10:12 PM
To: [EMAIL PROTECTED]
Subject: RH8 apache problem?
Try something
REALLY simple like this.
your browser should be calling http://localhost/cgi-bin/program.pl
create /var/www/cgi-bin/program.pl as follows:
#! /usr/bin/perl
use strict;
print