Re: [win32] new perl/apache/mod_perl binary

2002-07-09 Thread Ron Savage

On Mon, 8 Jul 2002 00:24:30 -0500 (CDT), Randy Kobes wrote:
>Hi,
>I've placed an updated perl-5.6.1/Apache-1.3.26/mod_perl-1.27
>Win32 binary package, perl-win32-bin-0.8.exe (a self-extracting
>archive), in ftp://theoryx5.uwinnipeg.ca/pub/other/. This

I've update configure-apache.pl to match. See:

http://savage.net.au/index.html

First timers:
configure-apache.pl simply patches a few Perl and Apache config files
when you install these packages on a drive other than C:. The entire
installation process is documented, including the environment, some
security issues, installing and starting Apache as a service, and
some MS Windows-specific DNS issues.
--
Cheers
Ron Savage, [EMAIL PROTECTED] on 10/07/2002
http://savage.net.au/index.html





Re: [win32] new perl/apache/mod_perl binary

2002-07-09 Thread Gerald Richter


>Yes, the problem is Embperl. Commenting it out (lines 1084 to 1096 of
>httpd.conf) fixed things. Phew.

I have also seen this problem with Embperl when installing Apache service.
It's not special to this binary version.

Since Apache gets always installed correctly, I never had taken the time to
track it down.

Gerald

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

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






Re: [win32] new perl/apache/mod_perl binary

2002-07-09 Thread Ron Savage

On Tue, 9 Jul 2002 02:25:41 -0500 (CDT), Randy Kobes wrote:

Randy

>On Tue, 9 Jul 2002, Ron Savage wrote:
>
>>On Mon, 8 Jul 2002 00:24:30 -0500 (CDT), Randy Kobes wrote:
>>>Hi,
>>>I've placed an updated perl-5.6.1/Apache-1.3.26/mod_perl-1.27
>>>Win32 binary package, perl-win32-bin-0.8.exe (a self-extracting
>>>archive), in ftp://theoryx5.uwinnipeg.ca/pub/other/. This
>>
>>I cannot get this to start properly under WinNT.
>>
>>Symptoms:
>>1)
>>shell>Apache.exe -n Apache -k install
>>2 lines of output appear:
>>
>>Installing the Apache service
>>The Apache service has been installed successfully.
>>
>>and then a Windows error box, containing:
>>The instruction at "0x..." referenced memory at "0x...". The memory
>>could not be 'read'.
>>Nevertheless, Apache is installed, and can be uninstalled.
>[ ... ]
>
>Does it start OK, and give the server signature, if you just do
>C:\Apache> Apache.exe

Yes.

>I think the problem might be in Embperl - try commenting out the
>Embperl directives towards the bottom of httpd.conf and see if
>that helps in starting the service. Neverthless, as you say,
>things seem to work OK even with these errors on start-up.

Yes, the problem is Embperl. Commenting it out (lines 1084 to 1096 of
httpd.conf) fixed things. Phew.

Thanx for your help.

--
Cheers
Ron Savage, [EMAIL PROTECTED] on 09/07/2002
http://savage.net.au/index.html





Re: [win32] new perl/apache/mod_perl binary

2002-07-08 Thread Randy Kobes

On Tue, 9 Jul 2002, Ron Savage wrote:

> On Mon, 8 Jul 2002 00:24:30 -0500 (CDT), Randy Kobes wrote:
> >Hi,
> >I've placed an updated perl-5.6.1/Apache-1.3.26/mod_perl-1.27
> >Win32 binary package, perl-win32-bin-0.8.exe (a self-extracting
> >archive), in ftp://theoryx5.uwinnipeg.ca/pub/other/. This
>
> I cannot get this to start properly under WinNT.
>
> Symptoms:
> 1)
> shell>Apache.exe -n Apache -k install
> 2 lines of output appear:
>
> Installing the Apache service
> The Apache service has been installed successfully.
>
> and then a Windows error box, containing:
> The instruction at "0x..." referenced memory at "0x...". The memory
> could not be 'read'.
> Nevertheless, Apache is installed, and can be uninstalled.
[ ... ]

Does it start OK, and give the server signature, if you just do
   C:\Apache> Apache.exe
I think the problem might be in Embperl - try commenting out the
Embperl directives towards the bottom of httpd.conf and see if
that helps in starting the service. Neverthless, as you say,
things seem to work OK even with these errors on start-up.

best regards,
randy




Re: [win32] new perl/apache/mod_perl binary

2002-07-08 Thread Ron Savage

On Mon, 8 Jul 2002 00:24:30 -0500 (CDT), Randy Kobes wrote:
>Hi,
>I've placed an updated perl-5.6.1/Apache-1.3.26/mod_perl-1.27
>Win32 binary package, perl-win32-bin-0.8.exe (a self-extracting
>archive), in ftp://theoryx5.uwinnipeg.ca/pub/other/. This

Randy

I cannot get this to start properly under WinNT.

I've tried installing in C:\ and D:\.

I've updated (but not uploaded) my configure-apache.pl to patch these
3 files:
D:\perl\lib\Config.pm
D:\perl\lib\CPAN\Config.pm
D:\apache\conf\httpd.conf
so the install on D:\ should be correct.

Symptoms:
1)
shell>Apache.exe -n Apache -k install
2 lines of output appear:

Installing the Apache service
The Apache service has been installed successfully.

and then a Windows error box, containing:
The instruction at "0x..." referenced memory at "0x...". The memory
could not be 'read'.
Nevertheless, Apache is installed, and can be uninstalled.
2)
If I try
shell>apache -k start
without the install, and try a -k stop in another DOS window, I get
the same error box (in the -k stop window) with _exactly_ the same 2
memory addresses.
Nevertheless, Apache stops.
3) If I try
shell>apache -n Apache -k install
and ignore the error, and then try:
shell>apache -n Apache -k start
I get 2 lines of output:

The Apache service is starting.
The Apache service has started.

with about 6 seconds between the msgs, then straight after the 2nd
msg, the error box with _exactly_ the same 2 memory addresses.
Nevertheless, Apache can be stopped, and it does serve pages.
4) access.log contains the expected.
error.log contains nothing.
ssl_engine_log contains this per start:
-><8-
[07/Jul/2002 22:47:15 04016] [info]  Server: Apache/1.3.26,
Interface: mod_ssl/2.8.10, Library: OpenSSL/0.9.6d
[07/Jul/2002 22:47:15 04016] [warn]  You are using mod_ssl under
Win32. This combination is *NOT* officially supported. Use it at your
own risk!
[07/Jul/2002 22:47:15 04016] [info]  Init: 1st startup round (still
not detached)
[07/Jul/2002 22:47:15 04016] [info]  Init: Initializing OpenSSL
library
[07/Jul/2002 22:47:15 04016] [info]  Init: Loading certificate &
private key of SSL-aware server localhost:443
[07/Jul/2002 22:47:15 04016] [info]  Init: Seeding PRNG with 136
bytes of entropy
[07/Jul/2002 22:47:15 04016] [info]  Init: Generating temporary RSA
private keys (512/1024 bits)
[07/Jul/2002 22:47:16 04016] [info]  Init: Configuring temporary DH
parameters (512/1024 bits)
[07/Jul/2002 22:47:16 04016] [warn]  Failed to release global mutex
lock
[07/Jul/2002 22:47:16 04016] [warn]  Failed to release global mutex
lock
[07/Jul/2002 22:47:16 04016] [info]  Init: Seeding PRNG with 136
bytes of entropy
[07/Jul/2002 22:47:16 04016] [info]  Init: Configuring temporary RSA
private keys (512/1024 bits)
[07/Jul/2002 22:47:16 04016] [info]  Init: Configuring temporary DH
parameters (512/1024 bits)
[07/Jul/2002 22:47:16 04016] [info]  Init: Initializing (virtual)
servers for SSL
[07/Jul/2002 22:47:16 04016] [info]  Init: Configuring server
localhost:443 for SSL protocol
[07/Jul/2002 22:47:16 04016] [warn]  Init: (localhost:443) RSA server
certificate CommonName (CN) `www.snakeoil.dom' does NOT match server
name!?
[07/Jul/2002 22:47:18 04016] [info]  Init: 2nd startup round (already
detached)
[07/Jul/2002 22:47:18 04016] [info]  Init: Reinitializing OpenSSL
library
[07/Jul/2002 22:47:18 04016] [warn]  Failed to release global mutex
lock
[07/Jul/2002 22:47:18 04016] [warn]  Failed to release global mutex
lock
[07/Jul/2002 22:47:18 04016] [info]  Init: Seeding PRNG with 136
bytes of entropy
[07/Jul/2002 22:47:19 04016] [info]  Init: Configuring temporary RSA
private keys (512/1024 bits)
[07/Jul/2002 22:47:19 04016] [info]  Init: Configuring temporary DH
parameters (512/1024 bits)
[07/Jul/2002 22:47:19 04016] [info]  Init: Initializing (virtual)
servers for SSL
[07/Jul/2002 22:47:19 04016] [info]  Init: Configuring server
localhost:443 for SSL protocol
[07/Jul/2002 22:47:19 04016] [warn]  Init: (localhost:443) RSA server
certificate CommonName (CN) `www.snakeoil.dom' does NOT match server
name!?
-><8-
--
Cheers
Ron Savage, [EMAIL PROTECTED] on 09/07/2002
http://savage.net.au/index.html





RE: [win32] new perl/apache/mod_perl binary

2002-07-08 Thread Alessandro Forghieri

Greetings

[...]
> there's a better way - if anyone's familiar with this, could you
> drop me a mine, privately? Thanks.
^

Are you sure this is *really* what you want? :
(Sorry I could not resist).
Cheers,
alf



Re: [win32] new perl/apache/mod_perl binary

2002-07-07 Thread Randy Kobes

On Mon, 8 Jul 2002, Gerald Richter wrote:

> Hi Randy,
>
> >I've placed an updated perl-5.6.1/Apache-1.3.26/mod_perl-1.27
> > Win32 binary package, perl-win32-bin-0.8.exe (a self-extracting
> > archive), in ftp://theoryx5.uwinnipeg.ca/pub/other/.
>
> Is this package binary compatible with ActiveState, i.e. can I do a ppm
> install to get additional packages?
>
> Gerald

Hi Gerald,
   Yes, it's based on the sources of build 633 of ActiveState.
I've also included the ppm utility for adding packages; some
adjustments in Perl/site/lib/ppm.xml may be needed if Perl is
installed to other than C:/Perl/.
   Competely off-topic, but I would like to be able to make up
an msi package of this, so different components could be
installed to desired locations, and a script then run to adjust
accordingly the various config files. I got an add-on to Visual
Studio to make msi packages, but as near as I can tell, you have
to add files one at a time, which is a bit tedious ... Obviously
there's a better way - if anyone's familiar with this, could you
drop me a mine, privately? Thanks.

best regards,
randy




Re: [win32] new perl/apache/mod_perl binary

2002-07-07 Thread Gerald Richter

Hi Randy,

>I've placed an updated perl-5.6.1/Apache-1.3.26/mod_perl-1.27
> Win32 binary package, perl-win32-bin-0.8.exe (a self-extracting
> archive), in ftp://theoryx5.uwinnipeg.ca/pub/other/.

Is this package binary compatible with ActiveState, i.e. can I do a ppm
install to get additional packages?

Gerald


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

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






[win32] new perl/apache/mod_perl binary

2002-07-07 Thread Randy Kobes

Hi,
   I've placed an updated perl-5.6.1/Apache-1.3.26/mod_perl-1.27
Win32 binary package, perl-win32-bin-0.8.exe (a self-extracting
archive), in ftp://theoryx5.uwinnipeg.ca/pub/other/. This
includes, amongst other things, Embperl, Apache::ASP, and
HTML::Mason, with some simple examples configured in Apache. It
also includes mod_ssl/openssl. Unfortunately, these packages
aren't getting any smaller in size ...
   I've removed from the site past versions of these packages,
due to the security issues with earlier versions of Apache
contained in them. Please get in touch with me if you need an
earlier version for some reason.
   This will most likely be the last binary package based on
perl-5.6/apache-1.3 - the next one, after perl-5.8 is official,
will be based on perl-5.8 and apache-2/mod_perl-2 (note that
these involve binary incompatablities with lower versions). If
you want a preview of this, grab perl-5.8-win32-bin.tar.gz from
the above ftp directory - I'll be updating this later this week
from cvs.
   Please let me know if you have any problems with installation
of either of these.

best regards,
randy kobes