Re: Debian Sarge mod_perl Apache 1.3
- From: Stephen Patterson <steve@xxxxxxxxxxxxxx>
- Date: Tue, 19 Jul 2005 22:04:31 GMT
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>
--
Stephen Patterson steve@xxxxxxxxxxxxxx http://patter.mine.nu/ GPG: E3E8E974
Jabber: patter on jabber.earth.li MSN: stephenpatterson893@xxxxxxxxxxx
"Whoever said nothing is impossible never tried slamming a revolving door."
-- Melissa O'Brien
.
- Follow-Ups:
- Re: Debian Sarge mod_perl Apache 1.3
- From: Debian User
- Re: Debian Sarge mod_perl Apache 1.3
- From: test
- Re: Debian Sarge mod_perl Apache 1.3
- References:
- Debian Sarge mod_perl Apache 1.3
- From: Debian User
- Debian Sarge mod_perl Apache 1.3
- Prev by Date: Re: Best HTML Templating Module
- Next by Date: Re: Debian Sarge mod_perl Apache 1.3
- Previous by thread: Debian Sarge mod_perl Apache 1.3
- Next by thread: Re: Debian Sarge mod_perl Apache 1.3
- Index(es):
Relevant Pages
|
|