You are viewing a plain text version of this content. The canonical link for it is here.
Posted to embperl@perl.apache.org by Lukas Zapletal <lz...@bach.cz> on 2001/04/26 11:34:17 UTC

Hello, world! on Apache/Windows

I have succesfuly installed Embperl, but when I try to run 'Hello, world'
EmbperlObject example, i get Dr.Watson (application execution error -
instruction on adres xxx has refferenced 0x0009). After seting Embperl to
flush logfile I saw this error:

[252]MEM: Load d:/inetpub/wwwroot/embperl/base.epl in HTML::Embperl::DOC::_3
[252]CACHE: New File for 'd:/inetpub/wwwroot/embperl/base.epl' (56cba7c) in
'HTML::Embperl::DOC::_3' hash cache-key
'd:/inetpub/wwwroot/embperl/base.epl'

I use Embperl 1.3.1, Apache 1.3.19 and WinNT 4.0 SP 6. Here`s my
configuration:

PerlSetEnv EMBPERL_ESCMODE 0
PerlSetEnv EMBPERL_OPTIONS 16
PerlSetEnv EMBPERL_MAILHOST 192.168.1.13
PerlSetEnv EMBPERL_OBJECT_BASE base.epl
PerlSetEnv EMBPERL_OBJECT_FALLBACK notfound.html
PerlSetEnv EMBPERL_DEBUG 11245
PerlSetEnv EMBPERL_LOG "D:/Program Files/Apache
Group/Apache/logs/embperl.log"
PerlSetEnv EMBPERL_VIRTLOG "/embperl/log"

Alias /embperl "D:/Inetpub/wwwroot/embperl"

<Directory "D:/Inetpub/wwwroot/embperl">
 <FilesMatch ".*\.html$">
  SetHandler  perl-script
  PerlHandler HTML::EmbperlObject
  Options     ExecCGI
 </FilesMatch>
# <FilesMatch ".*\.epl$">
#  Order allow,deny
#  Deny From all
# </FilesMatch>
</Directory>

<Location /embperl/log>
 SetHandler perl-script
 PerlHandler HTML::Embperl
 Options ExecCGI
</Location>


Regards

Lukas Zapletal [lzap@bach.cz]
BACH systems Ltd. [www.bach.cz]
web programmer


---------------------------------------------------------------------
To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
For additional commands, e-mail: embperl-help@perl.apache.org


Re: Hello, world! on Apache/Windows

Posted by Gerald Richter <ri...@ecos.de>.
> I have succesfuly installed Embperl, but when I try to run 'Hello, world'
> EmbperlObject example, i get Dr.Watson (application execution error -
> instruction on adres xxx has refferenced 0x0009). After seting Embperl to
> flush logfile I saw this error:
>
> [252]MEM: Load d:/inetpub/wwwroot/embperl/base.epl in
HTML::Embperl::DOC::_3
> [252]CACHE: New File for 'd:/inetpub/wwwroot/embperl/base.epl' (56cba7c)
in
> 'HTML::Embperl::DOC::_3' hash cache-key
> 'd:/inetpub/wwwroot/embperl/base.epl'
>

This is no error, just an informational message

> I use Embperl 1.3.1, Apache 1.3.19 and WinNT 4.0 SP 6. Here`s my
> configuration:
>

Which version of Perl and mod_perl do you have ? Have you compiled
mod_perl/Apache on your own ? If not which distribution you use ?

Gerald


-------------------------------------------------------------
Gerald Richter    ecos electronic communication services gmbh
Internetconnect * Webserver/-design/-datenbanken * Consulting

Post:       Tulpenstrasse 5         D-55276 Dienheim b. Mainz
E-Mail:     richter@ecos.de         Voice:    +49 6133 925131
WWW:        http://www.ecos.de      Fax:      +49 6133 925152
-------------------------------------------------------------




---------------------------------------------------------------------
To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
For additional commands, e-mail: embperl-help@perl.apache.org