Subject: Re: apache2 + ap2-perl @INC problem
To: None <>
From: George Georgalis <>
List: pkgsrc-users
Date: 04/28/2006 00:41:55
On Thu, Apr 27, 2006 at 11:04:19PM -0400, George Georgalis wrote:
>I'm not sure if this is an application, pkgsrc ...or my problem.
>I've got apache2 and ap2-perl installed from pkgsrc
>in my httpd.conf, I have 
>LoadModule perl_module lib/httpd/
><IfModule mod_perl.c>
>  Alias /wcal/ /usr/local/www/vhost/
>    PerlRequire "/usr/local/www/vhost/"
>  <Location /wcal>
>    AllowOverride All
>    SetHandler perl-script
>    PerlHandler Apache::Registry
>    PerlSendHeader On
>#    PerlRequire "/var/www/webcal/bin/"
>    Options +ExecCGI
>  </Location>
>Alias /wcal.img/ "/usr/local/www/vhost/"
><Directory "/usr/local/www/vhost/">
>    Options Indexes MultiViews
>    AllowOverride All
>    Order allow,deny
>    Allow from all

That was old style httpd.conf, with apache2 + mod_perl you need

<IfModule mod_perl.c>
 PerlSwitches -wT
  PerlRequire "/usr/local/www/vhost/"
  Alias /wcal /usr/local/www/vhost/
  <Directory /usr/local/www/vhost/>
    AllowOverride All
    SetHandler perl-script
    PerlResponseHandler ModPerl::Registry
    PerlOptions +ParseHeaders
    Options +ExecCGI +FollowSymLinks
    #PerlOutputFilterHandler Apache::FFF

Alias /wcal.img "/usr/local/www/vhost/"

<Directory "/usr/local/www/vhost/">
    Options Indexes MultiViews FollowSymLinks
    AllowOverride All
    Order allow,deny
    Allow from all


// George

George Georgalis, systems architect, administrator <IXOYE>< cell:646-331-2027