Re: Apache offers to download the perl script rather than execute it!

2007-11-20 Thread Roberto C . Sánchez
On Tue, Nov 20, 2007 at 02:22:32PM -, michael watson (IAH-C) wrote: > > When I go to http://localhost/perl/rock.pl, Internet Explorer asks me if > I want to download or open the file. > > Help? > Umm, what do the error and access logs say? Regards, -Roberto P.S. Any chance you can get ri

Re: Apache offers to download the perl script rather than execute it!

2007-11-20 Thread Roberto C . Sánchez
On Tue, Nov 20, 2007 at 03:36:55PM +0100, Tobias Regneri wrote: > Hi, > > > SetHandler perl-script > > I think it's only a missing file type > > SetHandler perl-script .pl > Actually, since he specified it inside of a Location block, it will apply the handler to everything in that locat

Re: Apache offers to download the perl script rather than execute it!

2007-11-20 Thread Jonathan Vanasco
What does it download? print "Content-type: text/plain\n\n"; print "Mod Perl 2 Rocks\n"; or Mod Perl 2 Rocks ?

RE: Apache offers to download the perl script rather than execute it!

2007-11-20 Thread michael watson (IAH-C)
perl@perl.apache.org Subject: Re: Apache offers to download the perl script rather than execute it! Hi, > SetHandler perl-script I think it's only a missing file type SetHandler perl-script .pl Hth, Tobias

Re: Apache offers to download the perl script rather than execute it!

2007-11-20 Thread Tobias Regneri
Hi, > SetHandler perl-script I think it's only a missing file type SetHandler perl-script .pl Hth, Tobias