You are viewing a plain text version of this content. The canonical link for it is here.
Posted to embperl@perl.apache.org by Gerald Richter <ri...@ecos.de> on 2001/12/12 06:54:53 UTC

Re: CGI on Win32 Apache (was: Newbie Question)

>
> I ran wp-request -e -m GET http://localhost/path/to/yourscript and
received
> the following:
>
> Connection: close
> Date: Tue, 11 Dec 2001 21:53:57 GMT
> Server: Oracle HTTP Server Powered by Apache/1.3.12 (Win32)
ApacheJServ/1.1
> mod_ssl/2.6.4 OpenSSL/0.9.5a mod_perl/1.24
> Content-Type: text/html
> Client-Date: Tue, 11 Dec 2001 21:53:57 GMT
> Client-Peer: <my ip address>
>

ok, so we have correct headers, but really no output. Strange...

> Also, I don't have embpcgi.pl on my distribution which was bothersome to
me
> because i wanted to try that,
>

If you don't have it, just download the source distribution
(ftp://ftp.dev.ecos.de/pub/perl/embperl) and take it out of it.

> Finally, how do i follow-up on the list? I didn't see anywhere to reply to
> your followup?
>

Just hit "reply all", instead of "reply" within your mail program

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: CGI on Win32 Apache SOLVED !!!!!

Posted by Scott Marienski <sm...@home.com>.
I am accustomed to UNIX and neglected to escape the backslash in the
pathname of the epl file. Everything works fine. Embperl  could really be a
big watershed for me in my work if html editors like frontpage and
dreamweaver take a hands off approach to the embedded perl code. I prefer
this to the cgi.pm approach.

regards.

-----Original Message-----
From: Gerald Richter [mailto:richter@ecos.de]
Sent: Wednesday, December 12, 2001 12:55 AM
To: smarienski1@home.com
Cc: embperl@perl.apache.org
Subject: Re: CGI on Win32 Apache (was: Newbie Question)


>
> I ran wp-request -e -m GET http://localhost/path/to/yourscript and
received
> the following:
>
> Connection: close
> Date: Tue, 11 Dec 2001 21:53:57 GMT
> Server: Oracle HTTP Server Powered by Apache/1.3.12 (Win32)
ApacheJServ/1.1
> mod_ssl/2.6.4 OpenSSL/0.9.5a mod_perl/1.24
> Content-Type: text/html
> Client-Date: Tue, 11 Dec 2001 21:53:57 GMT
> Client-Peer: <my ip address>
>

ok, so we have correct headers, but really no output. Strange...

> Also, I don't have embpcgi.pl on my distribution which was bothersome to
me
> because i wanted to try that,
>

If you don't have it, just download the source distribution
(ftp://ftp.dev.ecos.de/pub/perl/embperl) and take it out of it.

> Finally, how do i follow-up on the list? I didn't see anywhere to reply to
> your followup?
>

Just hit "reply all", instead of "reply" within your mail program

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: CGI on Win32 Apache (was: Newbie Question)

Posted by Gerald Richter <ri...@ecos.de>.

> I am getting an perl.exe - Unable to Locate DLL error that says The
dynamic
> link library ApacheCore.dll could not be found in the specified path and
> then it displays my $PATH variable contents.

This is normal when it's compiled for mod_perl, but you don't use mod_perl

> When I add the path to the
> ApacheCore.dll

That's the correct solution...

> and try to execute the embperl CGI program I get no errors
> and a blank screen.
>

... but not the correct result.

So the next thing we can do you is to enable the log file and see what we
get:

SetEnv EMBPERL_DEBUG 2285
SetEnv EMBPERL_LOG \temp\embperl.log

(use a path that fit's for your system)

Send me the resulting embperl.log file

Gerald

P.S. If you use Apache why don't you use mod_perl ? Would make the things
much faster in the end.


-------------------------------------------------------------
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: CGI on Win32 Apache (was: Newbie Question)

Posted by Scott Marienski <sm...@home.com>.
I am getting an perl.exe - Unable to Locate DLL error that says The dynamic
link library ApacheCore.dll could not be found in the specified path and
then it displays my $PATH variable contents. When I add the path to the
ApacheCore.dll and try to execute the embperl CGI program I get no errors
and a blank screen.

-----Original Message-----
From: Gerald Richter [mailto:richter@ecos.de]
Sent: Wednesday, December 12, 2001 12:55 AM
To: smarienski1@home.com
Cc: embperl@perl.apache.org
Subject: Re: CGI on Win32 Apache (was: Newbie Question)


>
> I ran wp-request -e -m GET http://localhost/path/to/yourscript and
received
> the following:
>
> Connection: close
> Date: Tue, 11 Dec 2001 21:53:57 GMT
> Server: Oracle HTTP Server Powered by Apache/1.3.12 (Win32)
ApacheJServ/1.1
> mod_ssl/2.6.4 OpenSSL/0.9.5a mod_perl/1.24
> Content-Type: text/html
> Client-Date: Tue, 11 Dec 2001 21:53:57 GMT
> Client-Peer: <my ip address>
>

ok, so we have correct headers, but really no output. Strange...

> Also, I don't have embpcgi.pl on my distribution which was bothersome to
me
> because i wanted to try that,
>

If you don't have it, just download the source distribution
(ftp://ftp.dev.ecos.de/pub/perl/embperl) and take it out of it.

> Finally, how do i follow-up on the list? I didn't see anywhere to reply to
> your followup?
>

Just hit "reply all", instead of "reply" within your mail program

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