This is not working for me. Any chance you can mail your config? Also,
is your mod_perl a DSO or bult statically. I have done this on at least
100 other servers in my time. What am I missing this time?

Thanks,
Chuck


-----Original Message-----
From: tom poe [mailto:[EMAIL PROTECTED]] 
Sent: Thursday, November 29, 2001 3:29 PM
To: Chuck Carson; [EMAIL PROTECTED]
Subject: Re: <Files> problem, pulling my dam hair out


On Thursday 29 November 2001 14:37, Chuck Carson wrote:
> 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

Hi, Chuck:  For starters, is the line above correct:
> Alias /perl /usr/local/apache/cgi-bin

or should you use:  Alias /perl/   /usr/local/apache/cgi-bin/

The other thing you might check in that area, is a line that says
something 
like:
 AddHandler cgi-script .pl .cgi  

I'm running SuSE7.1, and Apache1.3.14 with a documentRoot of 
/usr/local/httpd/htdocs/

hth   tom

Reply via email to