Re: Debian Sarge mod_perl Apache 1.3



I move the part concerning Perl to another part of the httpd.conf
and added the FilesMatch section then it works!! Thanks

On Tue, 19 Jul 2005 22:04:31 +0000, Stephen Patterson wrote:

> On Tue, 19 Jul 2005 22:51:58 +0200, Debian User wrote:
>> Hi,
>> I try to set up apache and mod_perl, I added the location tag in
>> httpd.conf and all that comes with it but when I try the URI of a pl file,
>> my browser ask me if I want to save it: apache seems to not recognize the
>> pl file as a perl script...
>
> Well, this is from my httpd.conf (sarge, apache 1.3). Uses mod-perl
> for anything in /mod-perl and any other files ending in .pl
> LoadModule perl_module /usr/lib/apache/1.3/mod_perl.so
>
> <IfModule mod_alias.c>
> Alias /mod-perl/ /home/httpd/mod-perl/
> </IfModule>
> <Location /mod-perl>
> SetHandler perl-script
> PerlHandler Apache::Registry
> Options +ExecCGI
> </Location>
> <FilesMatch "\.pl$">
> SetHandler perl-script
> PerlHandler Apache::Registry
> Options +ExecCGI
> </FilesMatch>

.



Relevant Pages

  • Re: Debian Sarge mod_perl Apache 1.3
    ... >> my browser ask me if I want to save it: apache seems to not recognize the ... > SetHandler perl-script ... > PerlHandler Apache::Registry ... > Options +ExecCGI ...
    (comp.lang.perl.modules)
  • Re: Nasm 2.05rc1 released
    ... I have Apache 2.2.9 up and running. ... Compiled it with Perl 5.10, ... You're missing SetHandler and PerlHandler lines compared to me. ... The fact that a believer is happier than a sceptic is no more to the ...
    (alt.lang.asm)
  • Re: Debian Sarge mod_perl Apache 1.3
    ... > my browser ask me if I want to save it: apache seems to not recognize the ... SetHandler perl-script ... PerlHandler Apache::Registry ... Options +ExecCGI ...
    (comp.lang.perl.modules)
  • Undefined symbol: PL_perl_destruct_level after upgrading....
    ... "test upgrade" and all that):P ... Basically, I recently upgraded apache, mysql & php using http:// ... it seems that _somehow_ Perl 5.8.0 was ... installed on the Woody server I admin. ...
    (Debian-User)
  • Re: from elsewhere, an assembler
    ... PHP is a treat. ... The only problem I have with Perl at the moment, ... play with Perl I play inside a command prompt ... an annoyance I guess for using apache on windows... ...
    (alt.lang.asm)