You are viewing a plain text version of this content. The canonical link for it is here.
Posted to embperl@perl.apache.org by Scott Chapman <sc...@mischko.com> on 2002/01/10 21:04:15 UTC

EmbperlObject not working under Win NT?

I'm getting a 404 error when I call and EmbperlObject page.
I'm running Apache under WinNT4 SP6.  
Just got it installed from theoryx5.uwinnipeg.ca, including 2.0b5 and 
SessionX.

Here's the error in error.log:

> [162]SES:  Embperl Session management enabled ()
> [Thu Jan 10 11:54:46 2002] [error] EmbperlObject searched
> ';c:/apache/embperl;c:/apache;c:/'

Apache config for embperl is:

> # The following is for HTML::Embperl
> Alias /embperl/ "/Apache/embperl/"
> <Location /embperl>
>    PerlSetEnv EMBPERL_OBJECT_BASE base.html
>    PerlSetEnv EMBPERL_FILESMATCH "\.html?$|\.epl$"
>    PerlSetEnv EMBPERL_OPTIONS 16
>    SetHandler perl-script
>    PerlHandler HTML::EmbperlObject
>    Options ExecCGI
> </Location>

base.epl is in c:\apache\embperl:

> [- Execute ('constants.epl') -]
> [- Execute ('init.epl') -]
> [- Execute('*') -]
> [- Execute ('cleanup.epl') -]

The 3 files referenced in base.epl are also there.  

This all worked great on my Linux install.

Here's the apache version info:

> Apache/1.3.20 (Win32) mod_perl/1.25_01-dev mod_ssl/2.8.4
> OpenSSL/0.9.6a 

Any help would be greatly appreciated!
Scott

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


Re: EmbperlObject not working under Win NT?

Posted by Scott Chapman <sc...@mischko.com>.
Thanks Randy,
I'm getting the following in the dos window when I start Apache (It doesn't 
crash yet, however):

> [Thu Jan 10 14:32:13 2002] [warn] Loaded DSO modules\mod_perl.so uses
> plain Apac he 1.3 API, this module might crash under EAPI! (please
> recompile it with -DEAPI ) Apache/1.3.20 (Win32) mod_perl/1.26_01-dev
> mod_ssl/2.8.4 OpenSSL/0.9.6a running. ..

I'm still getting this in access.log:

> 192.168.0.18 - - [10/Jan/2002:14:34:58 -0800] "GET
> /embperl/initial.epl HTTP/1.1" 404 291

and this in error.log:

> [Thu Jan 10 14:34:58 2002] [error] EmbperlObject searched
> ';c:/apache/embperl;c:/apache;c:/'

Scott

On 10 Jan 2002 at 16:17, Randy Kobes wrote:

> On Thu, 10 Jan 2002, Scott Chapman wrote:
> 
> > I'm getting a 404 error when I call and EmbperlObject page.
> > I'm running Apache under WinNT4 SP6.
> > Just got it installed from theoryx5.uwinnipeg.ca, including 2.0b5 and
> > SessionX.
> >
> > Here's the error in error.log:
> >
> > > [162]SES:  Embperl Session management enabled ()
> > > [Thu Jan 10 11:54:46 2002] [error] EmbperlObject searched
> > > ';c:/apache/embperl;c:/apache;c:/'
> [ ... ]
> >
> > Here's the apache version info:
> >
> > > Apache/1.3.20 (Win32) mod_perl/1.25_01-dev mod_ssl/2.8.4
> > > OpenSSL/0.9.6a
> 
> Maybe try upgrading to mod_perl-1.26_01, which is the
> mod_perl.ppd from http://theoryx5.uwinnipeg.ca/ppmpackages/. This
> is the mod_perl version against which the Embperl ppm package was
> compiled.


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


Re: EmbperlObject not working under Win NT?

Posted by Scott Chapman <sc...@mischko.com>.
Sorry to have taken your time on this one!  I just assumed Randy was 
following the examples in the docs and didn't double check.  You know what 
assumptions make you....

Scott

On 11 Jan 2002 at 6:04, Gerald Richter wrote:

> > I'm getting a 404 error when I call and EmbperlObject page.
> ...
> > >    PerlSetEnv EMBPERL_OBJECT_BASE base.html
> ...
> > base.epl is in c:\apache\embperl:
> 
> Above you have configured base.html and the file is named base.epl.
> Unfortunately Embperl isn't smart enough to correct your typo ;-)
> 
> 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
> 



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


Re: EmbperlObject not working under Win NT?

Posted by Gerald Richter <ri...@ecos.de>.
> I'm getting a 404 error when I call and EmbperlObject page.
...
> >    PerlSetEnv EMBPERL_OBJECT_BASE base.html
...
> base.epl is in c:\apache\embperl:

Above you have configured base.html and the file is named base.epl.
Unfortunately Embperl isn't smart enough to correct your typo ;-)

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


Re: EmbperlObject not working under Win NT?

Posted by Randy Kobes <ra...@theoryx5.uwinnipeg.ca>.
On Thu, 10 Jan 2002, Scott Chapman wrote:

> I'm getting a 404 error when I call and EmbperlObject page.
> I'm running Apache under WinNT4 SP6.
> Just got it installed from theoryx5.uwinnipeg.ca, including 2.0b5 and
> SessionX.
>
> Here's the error in error.log:
>
> > [162]SES:  Embperl Session management enabled ()
> > [Thu Jan 10 11:54:46 2002] [error] EmbperlObject searched
> > ';c:/apache/embperl;c:/apache;c:/'
[ ... ]
>
> Here's the apache version info:
>
> > Apache/1.3.20 (Win32) mod_perl/1.25_01-dev mod_ssl/2.8.4
> > OpenSSL/0.9.6a

Maybe try upgrading to mod_perl-1.26_01, which is the
mod_perl.ppd from http://theoryx5.uwinnipeg.ca/ppmpackages/. This
is the mod_perl version against which the Embperl ppm package was
compiled.

best regards,
randy kobes


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