[freeside-users] Apache2 and some errors when starting it up

Karl Hiramoto karl at hiramoto.org
Thu Oct 20 14:34:34 PDT 2005


Check your apache setup.
Make sure mod perl is loaded

and you have the setup:


AuthName Freeside
AuthType Basic
AuthUserFile /usr/local/etc/freeside/htpasswd
require valid-user
<Files ~ (\.cgi|\.html)>
AddHandler perl-script .cgi .html
PerlHandler HTML::Mason
</Files>
<Perl>
require "/usr/local/etc/freeside/handler.pl";
</Perl>



Zane C. B. wrote:

>It says "failed to resolve handler HTML::Mason". perl -MCPAN -e 'install
>HTML::Mason' lists it as being up to date.
>
>
>On Wed, 19 Oct 2005 15:55:56 -0500
>"Zane C. B." <zanecb at midwest-connections.com> wrote:
>
>  
>
>>Cool, yeah. Got that in there now. Any suggestions about about the
>>Apache problem though?
>>
>>On Wed, 19 Oct 2005 20:53:55 +0200
>>Karl Hiramoto <karl at hiramoto.org> wrote:
>>
>>    
>>
>>>Obviously looks like you are missing CPAN modules..  IPC::Run3
>>>
>>>http://search.cpan.org/~rschupp/IPC-Run3-0.032/lib/IPC/Run3.pm
>>>
>>>Zane C. B. wrote:
>>>
>>>      
>>>
>>>>Just added this to the Apache config. It complains about the <Perl>
>>>>being in Directory part there.
>>>>
>>>>PerlModule HTML::Mason
>>>># your freeside docuemnt root
>>>><Directory /var/www/freeside>
>>>><Files ~ (\.cgi|\.html)>
>>>>AddHandler perl-script .cgi .html
>>>>PerlHandler HTML::Mason
>>>></Files>
>>>><Perl>
>>>>require "/usr/local/etc/freeside/handler.pl";
>>>></Perl>
>>>></Directory>
>>>>        
>>>>
>
>  
>


-- 

---
Karl Hiramoto <karl at hiramoto.org>
US VOIP: (1) 603.966.4448
Spain Casa  (34) 951.273.347
Spain Mobil (34) 617.463.826
Yahoo_IM = karl_hiramoto   jabber.org=karl_hiramoto
------
-
(null cookie; hope that's ok)



More information about the freeside-users mailing list