Are you setting the content-type header correctly? You can add the correct content type a number of ways:
- Adding "DefaultType text/html" to your httpd.conf - Using the AddType directive in httpd.conf to single out .pl files - Add .pl files to your mime types config file (pointed to by TypesConfig) - Set it dynamically from your scripts using $r->content_type('text/html') - Kyle > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED]]On Behalf Of > Chuck Carson > Sent: Thursday, November 29, 2001 2:38 PM > To: [EMAIL PROTECTED] > Subject: <Files> problem, pulling my dam hair out > > > > I have the following config: > > apache 1.3.22 with perl 1.26 built statically > > I want to use perl to dynamically generate html pages, so I have .pl > files under DOCUMENT_ROOT. > > I have this config: > > Alias /perl /usr/local/apache/cgi-bin > <Directory /usr/local/apache/cgi-bin > > SetHandler perl-script > PerlHandler Apache::Registry > Options +ExecCGI > </Directory> > <Files *.pl> > SetHandler perl-script > PerlHandler Apache::Registry > Options ExecCGI > </Files> > > Whenever I try and get a perl script from a web browser, it pops up a > dialog asking to save the damn file. I have tried Netscape 4.79 on NT > and Unix as well as IE 5.5. I have configured a server in this manner > probably 100 times, I cannot find what I a missing this particuliar > time. > > > Anyone have any ideas? > > Thanks, > Chuck > > > Chuck Carson > Systems Administrator > [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> > 858.202.4188 Office > 858.442.0827 Mobile > 858.623.0460 Fax > > >