RH8 apache problem?

2003-03-11 Thread Larry Brown
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

RH8 apache problem?

2003-03-11 Thread Larry Brown
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

Re: RH8 apache problem?

2003-03-11 Thread Richie Crews
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

Re: RH8 apache problem?

2003-03-11 Thread Bret Hughes
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

Re: RH8 apache problem?

2003-03-11 Thread Bret Hughes
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

RH8 apache problem?

2003-03-11 Thread Dennis Kaptain
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

RE: RH8 apache problem?

2003-03-11 Thread Larry Brown
) 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

RE: RH8 apache problem?

2003-03-11 Thread Larry Brown
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

RE: RH8 apache problem?

2003-03-11 Thread Larry Brown
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