[freeside] Undefined subroutine &Apache::ASP::handler called
ivan
ivan at 420.am
Thu Jan 24 06:16:36 PST 2002
What version of mod_perl, please?
Does adding:
PerlModule Apache::ASP
to your httpd.conf help?
On Thu, Jan 24, 2002 at 08:13:00AM -0600, Rick Eicher II wrote:
>
> > > In redhat the command different but here is the out put.
> > >
> > > [root at nemisis rick]# /usr/sbin/httpd -t
> > > Syntax error on line 1223 of /etc/httpd/conf/httpd.conf:
> > > Invalid command 'PerlHandler', perhaps mis-spelled or defined
> > by a module
> > > not included in the server configuration
> > here is your answer on line 1223
> > check if you have right setting for mod_perl.
> > I would try to put <IfModule mod_perl.c> before <Directory>
> > and </IfModule> after </Directory>
> > for FreeSide config part.
> >
> > >
> > >
> > > I also have the following in apache to make sure of mod_perl.
> > >
> > > <Location /server-info>
> > > SetHandler server-info
> > > </Location>
> > > By going to "servername/server-info" I see that it is in there.
> > >
> > > Thanks for your time,
> > > Rick Eicher II
> > > www.pbol.net
> > >
> > > > -----Original Message-----
> > > > From: Edward Shabotinsky [mailto:lanshark at bsinet.net]
> > > > Sent: Wednesday, January 23, 2002 12:18 PM
> > > > To: ivan-freeside at sisd.com
> > > > Subject: Re: [freeside] Undefined subroutine &Apache::ASP::handler
> > > > called
> > > >
> > > >
> > > > check httpd.conf
> > > > apachectl -configtest
> > > >
> > > > Edward Shabotinsky
> > > > System Engineer
> > > > BritesiteINet Inc.
> > > > ---------------------------------
> > > > www.bsinet.net
> > > > lanshark at bsinet.net
> > > > ----------------------------------
> > > > ----- Original Message -----
> > > > From: "Rick Eicher II" <rick at pbol.net>
> > > > To: "Freeside" <ivan-freeside at sisd.com>
> > > > Sent: Wednesday, January 23, 2002 11:47 AM
> > > > Subject: [freeside] Undefined subroutine &Apache::ASP::handler called
> > > >
> > > >
> > > > > I have installed freeside-1.4.0pre7. When I click on the
> > configuration
> > > > link
> > > > > I get: "Internal Server Error". By taking a look into the
> > logs I see:
> > > > > "Undefined subroutine &Apache::ASP::handler called".
> > > > >
> > > > > I have search the archives and came up with no matches for
> > > > this. I search
> > > > > google and get four hits for this error. After reading through
> > > > them I have
> > > > > come up empty handed.
> > > > >
> > > > > I double checked I had Apache::ASP install correctly. Here
> > a read out:
> > > > >
> > > > > cpan> install Bundle::Apache::ASP
> > > > > CPAN: Storable loaded ok
> > > > > Going to read /root/.cpan/Metadata
> > > > > Database was generated on Wed, 23 Jan 2002 11:25:31 GMT
> > > > > MLDBM is up to date.
> > > > > MLDBM::Sync is up to date.
> > > > > Data::Dumper is up to date.
> > > > > Digest::MD5 is up to date.
> > > > > Apache::ASP is up to date.
> > > > >
> > > > > I am running:
> > > > > [root at nemisis httpd]# rpm -q apache
> > > > > apache-1.3.20-16
> > > > >
> > > > > [root at nemisis httpd]# rpm -q mod_perl
> > > > > mod_perl-1.24_01-3
> > > > >
> > > > > Here is what I have in httpd.conf (which I think is wrong)
> > > > > <Directory /home/freeside/public_html/aspdocs>
> > > > > <Files ~ (\.cgi)>
> > > > > AddHandler perl-script .cgi
> > > > > PerlHandler Apache::ASP
> > > > > </Files>
> > > > > <Perl>
> > > > > $MLDBM::RemoveTaint = 1;
> > > > > </Perl>
> > > > > PerlSetVar Global /home/freeside/public_html/asp-global/
> > > > > AuthName Freeside
> > > > > AuthType Basic
> > > > > AuthUserFile /home/freeside/public_html/htpasswd
> > > > > </Directory>
> > > > >
> > > > > What have I forgot to check or do?
> > > > >
> > > > > Thanks,
> > > > > Rick Eicher II
> > > > > www.pbol.net
> > > > >
> Ok now my httpd.conf looks like:
>
> <IfModule mod_perl.c>
> <Directory /home/freeside/public_html/aspdocs>
> <Files ~ (\.cgi)>
> AddHandler perl-script .cgi
> PerlHandler Apache::ASP
> </Files>
> <Perl>
> $MLDBM::RemoveTaint = 1;
> </Perl>
> PerlSetVar Global /home/freeside/public_html/asp-global/
> AuthName Freeside
> AuthType Basic
> AuthUserFile /home/freeside/public_html/htpasswd
> </Directory>
> </IfModule>
>
> And when I test the file:
>
> [root at nemisis conf]# /usr/sbin/httpd -t
> Syntax OK
>
> The Log looks like:
>
> [root at nemisis httpd]# tail error_log
> .....
> [Thu Jan 24 09:22:23 2002] [error] Undefined subroutine
> &Apache::ASP::handler called.
>
> As far as I can tell I have copied straight out of the install guide. I
> change the paths to match my set-up.
>
> Thanks,
> Rick
>
>
--
_ivan
More information about the freeside-users
mailing list