[freeside] Undefined subroutine &Apache::ASP::handler called

Rick Eicher II rick at pbol.net
Wed Jan 23 12:33:16 PST 2002


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


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
> >
> >
> >
>
>
>





More information about the freeside-users mailing list