You are viewing a plain text version of this content. The canonical link for it is here.
Posted to embperl@perl.apache.org by Kaare Rasmussen <ka...@kakidata.dk> on 2004/09/20 21:09:14 UTC
Embperl configuration on SUSE 9.1
Hi
This baffles me. I'm trying to move an Embperl application to another server
with a newer installation, SUSE 9.1.
After installing apache, mod_ssl and mod_perl and embperl, seemingly fine, i
include my old configuration file to httpd.conf.
apachectl configtest is OK, no problem, but apachectl start (or startssl)
turns up this in error.log:
Syntax error on line 11 of /usr/local/apache/conf/freemoney.conf:
Invalid command 'EMBPERL_APPNAME', perhaps mis-spelled or defined by a module
not included in the server configuration
freemoney.conf looks like this:
PerlModule Embperl
AddType text/html .epl
<Files *.epl>
</files>
Alias /fm/ "/usr/local/freemoney/pages/"
<Location /fm/>
EMBPERL_APPNAME freemoney
EMBPERL_OBJECT_BASE base.tepl
EMBPERL_URIMATCH "\.htm.?|\.epl$"
EMBPERL_SESSION_HANDLER_CLASS no
PerlSetEnv EMBPERL_FILESMATCH "\.htm.?|\.epl$"
SetHandler perl-script
PerlHandler Embperl::Object
PerlScript conf/fm-startup.pl
Options ExecCGI
</Location>
Where to look, and for what ?
--
Kaare Rasmussen --Linux, spil,-- Tlf: 3816 2582
Kaki Data tshirts, merchandize Fax: 3816 2501
Nordre Fasanvej 12 Åben 12.00-18.00 Email: kar@kakidata.dk
2000 Frederiksberg Lørdag 12.00-16.00 Web: www.suse.dk
---------------------------------------------------------------------
To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
For additional commands, e-mail: embperl-help@perl.apache.org
Re: Embperl configuration on SUSE 9.1
Posted by Kaare Rasmussen <ka...@kakidata.dk>.
Hi
> You should also add
> LoadModule embperl_module "/path/to/Embperl.so"
Sorry, forgot to tell about the envirnoment, Apache 1.3.31 et al.
But after a couple of hours more I've succeeded using this approach:
http://bulknews.net/lib/mod_perl_guide/install.html#mod_perl_and_mod_ssl_openssl_
Embperl is now working.
Thanks for your answer.
--
Kaare Rasmussen --Linux, spil,-- Tlf: 3816 2582
Kaki Data tshirts, merchandize Fax: 3816 2501
Nordre Fasanvej 12 Åben 12.00-18.00 Email: kar@kakidata.dk
2000 Frederiksberg Lørdag 12.00-16.00 Web: www.suse.dk
---------------------------------------------------------------------
To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
For additional commands, e-mail: embperl-help@perl.apache.org
Re: Embperl configuration on SUSE 9.1
Posted by Aare Vesi <aa...@myrien.com>.
On Mon, 2004-09-20 at 22:09, Kaare Rasmussen wrote:
Hi,
> Syntax error on line 11 of /usr/local/apache/conf/freemoney.conf:
> Invalid command 'EMBPERL_APPNAME', perhaps mis-spelled or defined by a module
> not included in the server configuration
>
> freemoney.conf looks like this:
>
> PerlModule Embperl
>
> AddType text/html .epl
>
You should also add
LoadModule embperl_module "/path/to/Embperl.so"
to your config file.
for example:
LoadModule embperl_module
"/usr/lib/perl5/site_perl/5.8.5/i386-linux-thread-multi/auto/Embperl/Embperl.so"
---------------------------------------------------------------------
To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
For additional commands, e-mail: embperl-help@perl.apache.org