2.0.36 + mod-ssl + Win2k = Easy Money

2.0.36 + mod-ssl + Win2k = Easy Money

am 09.06.2002 02:39:43 von John

Hello list members,

We have just spent (wasted) 3 days trying to compile Apache 2.0.36 with
zlib and mod-ssl on win2k for a critical project and we have been
unsuccessful. Thus the offer of easy money!

We need working binaries for the config described above URGENTLY and we
are willing to pay $500 worth of real gold (www.goldmoney.com) to the
first person who can supply them to us. This gold can be redeemed for
cash anywhere in the world.

If you want even MORE easy money, we are willing to pay a further $500
worth of real gold to anyone who can help us to actually compile
successfully. Details of what we have done and our results are below for
those who are interested:

Source: Apache 2.0.36, OpenSSL 2.6.9d, zlib (latest)

First we discovered you can not use the instructions on the howto at
http://httpd.apache.org/docs-2.0/platform/win_compiling.html ... the
instructions (perl commands) for creating the makefiles etc. before
compiling should not be used... Apache mod-ssl will need idea etc to
compile.

So we compiled OpenSSL using the instructions in INSTALL.W32 supplied
with OpenSSL and OpenSSL compiled perfectly first time with no errors or
warnings.

Next we moved the entire OpenSSL folder into ..\srclib\openssl as
instructed in the apache howto.
We also followed the instructions for zlib.

We got a version of awk for windows and installed it on the path as
instructed.

First we compiled without the openssl directory installed, and the nossl
version of Apache compiled fine, with the compile finishing with 4
warnings and no errors.

Compiling with the openssl directory installed brought a whole lot of
problems on!

First we got an error about not finding Bison, so we went and found a
Win2k version of bison (and bison.hairy and bison.simple)...

Then we needed flex, so we got that...

Then we needed sed, so we got that....

Then when we compiled we got an error "could not find y.tab.c etc"... we
discovered our version of bison uses y_tab.c and y_tab.h instead, so we
corrected that...

By now this had taken us a day or two of searching lists and web etc....

And still we get errors! now we are getting "undefined external _alloca"
errors...

So now we offer money for anyone who can help... we really would like to
get this right so we can write a proper howto, plus we have a critical
project we need to complete.

Thanks in advance,

John.





____________________________________________________________ __________
Apache Interface to OpenSSL (mod_ssl) www.modssl.org
User Support Mailing List modssl-users@modssl.org
Automated List Manager majordomo@modssl.org

Re: 2.0.36 + mod-ssl + Win2k = Easy Money

am 09.06.2002 05:33:44 von Victor Medina

Hi there!

I can provide Apache binaries with mod_ssl included and zlib (dll's and
lib) with no problems, just contact me via my private mail to tell you
where to download it, if you haven't done taht yet from any member of the list

Victor Medina

At 12:39 PM 6/9/2002 +1200, you wrote:
>Hello list members,
>
>We have just spent (wasted) 3 days trying to compile Apache 2.0.36 with
>zlib and mod-ssl on win2k for a critical project and we have been
>unsuccessful. Thus the offer of easy money!
>
>We need working binaries for the config described above URGENTLY and we
>are willing to pay $500 worth of real gold (www.goldmoney.com) to the
>first person who can supply them to us. This gold can be redeemed for
>cash anywhere in the world.
>
>If you want even MORE easy money, we are willing to pay a further $500
>worth of real gold to anyone who can help us to actually compile
>successfully. Details of what we have done and our results are below for
>those who are interested:
>
>Source: Apache 2.0.36, OpenSSL 2.6.9d, zlib (latest)
>
>First we discovered you can not use the instructions on the howto at
>http://httpd.apache.org/docs-2.0/platform/win_compiling.htm l... the
>instructions (perl commands) for creating the makefiles etc. before
>compiling should not be used... Apache mod-ssl will need idea etc to
>compile.
>
>So we compiled OpenSSL using the instructions in INSTALL.W32 supplied
>with OpenSSL and OpenSSL compiled perfectly first time with no errors or
>warnings.
>
>Next we moved the entire OpenSSL folder into ..\srclib\openssl as
>instructed in the apache howto.
>We also followed the instructions for zlib.
>
>We got a version of awk for windows and installed it on the path as
>instructed.
>
>First we compiled without the openssl directory installed, and the nossl
>version of Apache compiled fine, with the compile finishing with 4
>warnings and no errors.
>
>Compiling with the openssl directory installed brought a whole lot of
>problems on!
>
>First we got an error about not finding Bison, so we went and found a
>Win2k version of bison (and bison.hairy and bison.simple)...
>
>Then we needed flex, so we got that...
>
>Then we needed sed, so we got that....
>
>Then when we compiled we got an error "could not find y.tab.c etc"... we
>discovered our version of bison uses y_tab.c and y_tab.h instead, so we
>corrected that...
>
>By now this had taken us a day or two of searching lists and web etc....
>
>And still we get errors! now we are getting "undefined external _alloca"
>errors...
>
>So now we offer money for anyone who can help... we really would like to
>get this right so we can write a proper howto, plus we have a critical
>project we need to complete.
>
>Thanks in advance,
>
>John.
>
>
>
>
>
>___________________________________________________________ ___________
>Apache Interface to OpenSSL (mod_ssl) www.modssl.org
>User Support Mailing List modssl-users@modssl.org
>Automated List Manager majordomo@modssl.org

____________________________________________________________ __________
Apache Interface to OpenSSL (mod_ssl) www.modssl.org
User Support Mailing List modssl-users@modssl.org
Automated List Manager majordomo@modssl.org

Re: 2.0.36 + mod-ssl + Win2k = Easy Money

am 10.06.2002 00:41:39 von John

Well, we got one response from Victor, but he seems to be unable to
follow through (we don't get any response from his private e-mail) so we
still have $500 for anyone who can give us working binaries of apache
2.0.36 with mod-ssl...

Anyone? Is this actually possible? Has anyone ever got this right?

John.


----- Original Message -----
From: "Victor Medina"
To:
Sent: Sunday, June 09, 2002 3:33 PM
Subject: Re: 2.0.36 + mod-ssl + Win2k = Easy Money


Hi there!

I can provide Apache binaries with mod_ssl included and zlib (dll's and
lib) with no problems, just contact me via my private mail to tell you
where to download it, if you haven't done taht yet from any member of
the list

Victor Medina



____________________________________________________________ __________
Apache Interface to OpenSSL (mod_ssl) www.modssl.org
User Support Mailing List modssl-users@modssl.org
Automated List Manager majordomo@modssl.org

Re: 2.0.36 + mod-ssl + Win2k = Easy Money

am 10.06.2002 01:03:53 von Cliff Woolley

On Mon, 10 Jun 2002, John wrote:

> Well, we got one response from Victor, but he seems to be unable to
> follow through (we don't get any response from his private e-mail) so we
> still have $500 for anyone who can give us working binaries of apache
> 2.0.36 with mod-ssl...
> Anyone? Is this actually possible? Has anyone ever got this right?

Of course it's possible. I'd do it for you but I'm not convinced that I
as a US citizen am allowed to export strong-encryption binaries from the
US. Which is, of course, the entire reason that the official
distributions don't come with mod_ssl binaries.

--Cliff

PS: If you can wait a few days, 2.0.37 will hopefully be out and it has
some important bugs fixed. Just so you know.

------------------------------------------------------------ ---
Cliff Woolley
jwoolley@apache.org
Apache HTTP Server Project

____________________________________________________________ __________
Apache Interface to OpenSSL (mod_ssl) www.modssl.org
User Support Mailing List modssl-users@modssl.org
Automated List Manager majordomo@modssl.org

RE: 2.0.36 + mod-ssl + Win2k = Easy Money

am 10.06.2002 01:16:29 von Chris Hsiang

Yes... compiling 2.0.36 with mod ssl is easy... which part of compiling
did you guys stocked? It should have the compile out/output text....
include in the email will help us to understand what happened and the
next time you probably can compile the future version of apache


-----Original Message-----
From: owner-modssl-users@modssl.org
[mailto:owner-modssl-users@modssl.org] On Behalf Of Cliff Woolley
Sent: Sunday, June 09, 2002 7:04 PM
To: modssl-users@modssl.org
Subject: Re: 2.0.36 + mod-ssl + Win2k = Easy Money

On Mon, 10 Jun 2002, John wrote:

> Well, we got one response from Victor, but he seems to be unable to
> follow through (we don't get any response from his private e-mail) so
we
> still have $500 for anyone who can give us working binaries of apache
> 2.0.36 with mod-ssl...
> Anyone? Is this actually possible? Has anyone ever got this right?

Of course it's possible. I'd do it for you but I'm not convinced that I
as a US citizen am allowed to export strong-encryption binaries from the
US. Which is, of course, the entire reason that the official
distributions don't come with mod_ssl binaries.

--Cliff

PS: If you can wait a few days, 2.0.37 will hopefully be out and it has
some important bugs fixed. Just so you know.

------------------------------------------------------------ ---
Cliff Woolley
jwoolley@apache.org
Apache HTTP Server Project

____________________________________________________________ __________
Apache Interface to OpenSSL (mod_ssl) www.modssl.org
User Support Mailing List modssl-users@modssl.org
Automated List Manager majordomo@modssl.org

____________________________________________________________ __________
Apache Interface to OpenSSL (mod_ssl) www.modssl.org
User Support Mailing List modssl-users@modssl.org
Automated List Manager majordomo@modssl.org

Re: 2.0.36 + mod-ssl + Win2k = Easy Money

am 10.06.2002 02:02:32 von John

Thanks Chris,

There is a summary of what we did on the original post to this thread...
any help is appreciated, thanks,

John.





----- Original Message -----
From: "Chris Hsiang"
To:
Sent: Monday, June 10, 2002 11:16 AM
Subject: RE: 2.0.36 + mod-ssl + Win2k = Easy Money


Yes... compiling 2.0.36 with mod ssl is easy... which part of compiling
did you guys stocked? It should have the compile out/output text....
include in the email will help us to understand what happened and the
next time you probably can compile the future version of apache


-----Original Message-----
From: owner-modssl-users@modssl.org
[mailto:owner-modssl-users@modssl.org] On Behalf Of Cliff Woolley
Sent: Sunday, June 09, 2002 7:04 PM
To: modssl-users@modssl.org
Subject: Re: 2.0.36 + mod-ssl + Win2k = Easy Money

On Mon, 10 Jun 2002, John wrote:

> Well, we got one response from Victor, but he seems to be unable to
> follow through (we don't get any response from his private e-mail) so
we
> still have $500 for anyone who can give us working binaries of apache
> 2.0.36 with mod-ssl...
> Anyone? Is this actually possible? Has anyone ever got this right?

Of course it's possible. I'd do it for you but I'm not convinced that I
as a US citizen am allowed to export strong-encryption binaries from the
US. Which is, of course, the entire reason that the official
distributions don't come with mod_ssl binaries.

--Cliff

PS: If you can wait a few days, 2.0.37 will hopefully be out and it has
some important bugs fixed. Just so you know.

------------------------------------------------------------ ---
Cliff Woolley
jwoolley@apache.org
Apache HTTP Server Project

____________________________________________________________ __________
Apache Interface to OpenSSL (mod_ssl) www.modssl.org
User Support Mailing List modssl-users@modssl.org
Automated List Manager majordomo@modssl.org

____________________________________________________________ __________
Apache Interface to OpenSSL (mod_ssl) www.modssl.org
User Support Mailing List modssl-users@modssl.org
Automated List Manager majordomo@modssl.org


____________________________________________________________ __________
Apache Interface to OpenSSL (mod_ssl) www.modssl.org
User Support Mailing List modssl-users@modssl.org
Automated List Manager majordomo@modssl.org

Re: 2.0.36 + mod-ssl + Win2k = Easy Money

am 10.06.2002 05:31:11 von Steve Parrish

>Hello list members,
>
>We have just spent (wasted) 3 days trying to compile Apache 2.0.36 with
>zlib and mod-ssl on win2k for a critical project and we have been
>unsuccessful. Thus the offer of easy money!
>
>We need working binaries for the config described above URGENTLY and we
>are willing to pay $500 worth of real gold (www.goldmoney.com) to the
>first person who can supply them to us. This gold can be redeemed for
>cash anywhere in the world.
>
>If you want even MORE easy money, we are willing to pay a further $500
>worth of real gold to anyone who can help us to actually compile
>successfully. Details of what we have done and our results are below for
>those who are interested:
>

I'd like to take your money, however, a US citizen should only
fulfill such an order via snail mail to a physical US address (no PO
box).

For compiling help, I'd like to take your money for that too, but it
wouldn't seem right without offering a few tips first. If you then
feel compelled to pay me for the info, then by all means... :)

I achieved what you want by following the same instructions you read.
I did a _command-line_ build, using VS.net (60 day trial edition) on
a new laptop (256mb/DVD) running XP home. Did it on D drive just to
complicate things a bit. Transferred it to a dev server. Works great.

Install perl.
Unpack the apache source.
Put awk* in the apache source folder and make sure it has been renamed awk.exe
put the openssl source* in the proper place. -[apache source]\srclib\openssl
put the zlib source* in the proper place. -[apache source]\srclib\zlib
find vcvars32.bat and put a shortcut in your [apache source] and
[openssl] directories.
open a command prompt.
go to your openssl directory ([apache source]\srclib\openssl) and run
vcvars32.bat.
run commands to compile openssl*.
you can try a couple of openssl commands at the command prompt to
verify compilation.
go to your apache source directory (cd \[apache source]) and run vcvars32.bat.
run commands to compile apache via _command-line_*.

* refer to instructions here:


If you get a "can't find this or that" message, put a copy wherever
you need it.
Look in "Component Services -> Event Viewer" to see other error messages.

There are other issues with using openssl on Windows, but first things first.

HIH,

Steve Parrish
--

____________________________________________________________ __________
Apache Interface to OpenSSL (mod_ssl) www.modssl.org
User Support Mailing List modssl-users@modssl.org
Automated List Manager majordomo@modssl.org

Re: 2.0.36 + mod-ssl + Win2k = Easy Money

am 10.06.2002 06:36:20 von John

Hello Steve,

Thanks for the offer, we now have binaries, supplied by a non-US person,
but still we have no luck... we can browse to http://localhost, but not
https://localhost.

We have temp certs in place and everything looks fine, but no go. The
guys working on this have done this 100 times on linux with no problems,
we are now into our 5th day of stuffing around and still no ssl.

Maybe you can give us some pointers? We are using the default configs as
given with apache but there must be something else that needs to be done
to get windows to work with the ssl?

John.


----- Original Message -----
From: "Steve Parrish"
To:
Sent: Monday, June 10, 2002 3:31 PM
Subject: Re: 2.0.36 + mod-ssl + Win2k = Easy Money


>Hello list members,
>
>We have just spent (wasted) 3 days trying to compile Apache 2.0.36 with
>zlib and mod-ssl on win2k for a critical project and we have been
>unsuccessful. Thus the offer of easy money!
>
>We need working binaries for the config described above URGENTLY and we
>are willing to pay $500 worth of real gold (www.goldmoney.com) to the
>first person who can supply them to us. This gold can be redeemed for
>cash anywhere in the world.
>
>If you want even MORE easy money, we are willing to pay a further $500
>worth of real gold to anyone who can help us to actually compile
>successfully. Details of what we have done and our results are below
for
>those who are interested:
>

I'd like to take your money, however, a US citizen should only
fulfill such an order via snail mail to a physical US address (no PO
box).

For compiling help, I'd like to take your money for that too, but it
wouldn't seem right without offering a few tips first. If you then
feel compelled to pay me for the info, then by all means... :)

I achieved what you want by following the same instructions you read.
I did a _command-line_ build, using VS.net (60 day trial edition) on
a new laptop (256mb/DVD) running XP home. Did it on D drive just to
complicate things a bit. Transferred it to a dev server. Works great.

Install perl.
Unpack the apache source.
Put awk* in the apache source folder and make sure it has been renamed
awk.exe
put the openssl source* in the proper place. -[apache
source]\srclib\openssl
put the zlib source* in the proper place. -[apache source]\srclib\zlib
find vcvars32.bat and put a shortcut in your [apache source] and
[openssl] directories.
open a command prompt.
go to your openssl directory ([apache source]\srclib\openssl) and run
vcvars32.bat.
run commands to compile openssl*.
you can try a couple of openssl commands at the command prompt to
verify compilation.
go to your apache source directory (cd \[apache source]) and run
vcvars32.bat.
run commands to compile apache via _command-line_*.

* refer to instructions here:


If you get a "can't find this or that" message, put a copy wherever
you need it.
Look in "Component Services -> Event Viewer" to see other error
messages.

There are other issues with using openssl on Windows, but first things
first.

HIH,

Steve Parrish
--

____________________________________________________________ __________
Apache Interface to OpenSSL (mod_ssl) www.modssl.org
User Support Mailing List modssl-users@modssl.org
Automated List Manager majordomo@modssl.org


____________________________________________________________ __________
Apache Interface to OpenSSL (mod_ssl) www.modssl.org
User Support Mailing List modssl-users@modssl.org
Automated List Manager majordomo@modssl.org

RE: 2.0.36 + mod-ssl + Win2k = Easy Money

am 10.06.2002 07:18:23 von Chris Hsiang

I am using win32 of Apache 2.0.35/2.0.36 and I had many problems in the
beginning. It took me a week to get it work.

First can you show me your config now? Please do an attachement
Are you able to start apache with modssl but not yet have any virtual
host that with a sslengine on.

It is very hard to troubleshoot the situation with very limited
information and which point that modssl didn't work for you


Chris Hsiang
Intervivos LLC


-----Original Message-----
From: owner-modssl-users@modssl.org
[mailto:owner-modssl-users@modssl.org] On Behalf Of John
Sent: Monday, June 10, 2002 12:36 AM
To: modssl-users@modssl.org
Subject: Re: 2.0.36 + mod-ssl + Win2k = Easy Money

Hello Steve,

Thanks for the offer, we now have binaries, supplied by a non-US person,
but still we have no luck... we can browse to http://localhost, but not
https://localhost.

We have temp certs in place and everything looks fine, but no go. The
guys working on this have done this 100 times on linux with no problems,
we are now into our 5th day of stuffing around and still no ssl.

Maybe you can give us some pointers? We are using the default configs as
given with apache but there must be something else that needs to be done
to get windows to work with the ssl?

John.


----- Original Message -----
From: "Steve Parrish"
To:
Sent: Monday, June 10, 2002 3:31 PM
Subject: Re: 2.0.36 + mod-ssl + Win2k = Easy Money


>Hello list members,
>
>We have just spent (wasted) 3 days trying to compile Apache 2.0.36 with
>zlib and mod-ssl on win2k for a critical project and we have been
>unsuccessful. Thus the offer of easy money!
>
>We need working binaries for the config described above URGENTLY and we
>are willing to pay $500 worth of real gold (www.goldmoney.com) to the
>first person who can supply them to us. This gold can be redeemed for
>cash anywhere in the world.
>
>If you want even MORE easy money, we are willing to pay a further $500
>worth of real gold to anyone who can help us to actually compile
>successfully. Details of what we have done and our results are below
for
>those who are interested:
>

I'd like to take your money, however, a US citizen should only
fulfill such an order via snail mail to a physical US address (no PO
box).

For compiling help, I'd like to take your money for that too, but it
wouldn't seem right without offering a few tips first. If you then
feel compelled to pay me for the info, then by all means... :)

I achieved what you want by following the same instructions you read.
I did a _command-line_ build, using VS.net (60 day trial edition) on
a new laptop (256mb/DVD) running XP home. Did it on D drive just to
complicate things a bit. Transferred it to a dev server. Works great.

Install perl.
Unpack the apache source.
Put awk* in the apache source folder and make sure it has been renamed
awk.exe
put the openssl source* in the proper place. -[apache
source]\srclib\openssl
put the zlib source* in the proper place. -[apache source]\srclib\zlib
find vcvars32.bat and put a shortcut in your [apache source] and
[openssl] directories.
open a command prompt.
go to your openssl directory ([apache source]\srclib\openssl) and run
vcvars32.bat.
run commands to compile openssl*.
you can try a couple of openssl commands at the command prompt to
verify compilation.
go to your apache source directory (cd \[apache source]) and run
vcvars32.bat.
run commands to compile apache via _command-line_*.

* refer to instructions here:


If you get a "can't find this or that" message, put a copy wherever
you need it.
Look in "Component Services -> Event Viewer" to see other error
messages.

There are other issues with using openssl on Windows, but first things
first.

HIH,

Steve Parrish
--

____________________________________________________________ __________
Apache Interface to OpenSSL (mod_ssl) www.modssl.org
User Support Mailing List modssl-users@modssl.org
Automated List Manager majordomo@modssl.org


____________________________________________________________ __________
Apache Interface to OpenSSL (mod_ssl) www.modssl.org
User Support Mailing List modssl-users@modssl.org
Automated List Manager majordomo@modssl.org

____________________________________________________________ __________
Apache Interface to OpenSSL (mod_ssl) www.modssl.org
User Support Mailing List modssl-users@modssl.org
Automated List Manager majordomo@modssl.org

Re: 2.0.36 + mod-ssl + Win2k = Easy Money

am 10.06.2002 07:20:20 von John

We have discovered that if we start Apache from the console with
>apache -D SSL on our windows server, then we have ssl support...
Please, someone, how do we get ssl support running as a service?

It seems we have wasted a couple of days, simply to find this out!

John.




____________________________________________________________ __________
Apache Interface to OpenSSL (mod_ssl) www.modssl.org
User Support Mailing List modssl-users@modssl.org
Automated List Manager majordomo@modssl.org

Re: 2.0.36 + mod-ssl + Win2k = Easy Money

am 10.06.2002 09:11:47 von Mark Chew

Assuming the win2k service for Apache is created
(else create one using sc command),
try configure the Apache service properties like this :

Path to executable:
"C:\Program Files\Apache Group\Apache\Apache.exe" --ntservice

Startup type:
Automatic



Regards,
Mark


>From: "John"
>Reply-To: modssl-users@modssl.org
>To:
>Subject: Re: 2.0.36 + mod-ssl + Win2k = Easy Money
>Date: Mon, 10 Jun 2002 17:20:20 +1200
>
>We have discovered that if we start Apache from the console with
> >apache -D SSL on our windows server, then we have ssl support...
>Please, someone, how do we get ssl support running as a service?
>
>It seems we have wasted a couple of days, simply to find this out!
>
>John.
>
>
>
>
>___________________________________________________________ ___________
>Apache Interface to OpenSSL (mod_ssl) www.modssl.org
>User Support Mailing List modssl-users@modssl.org
>Automated List Manager majordomo@modssl.org




____________________________________________________________ _____
Chat with friends online, try MSN Messenger: http://messenger.msn.com

____________________________________________________________ __________
Apache Interface to OpenSSL (mod_ssl) www.modssl.org
User Support Mailing List modssl-users@modssl.org
Automated List Manager majordomo@modssl.org

AW: 2.0.36 + mod-ssl + Win2k = Easy Money

am 10.06.2002 11:03:29 von Andre Steffens

Hello List,

I'm also searching for an Win2k binary with SSL support. But it's not
possible for me to spend $500 for this. I would be very grateful if someone
can help me without money...

Thx
Andre

____________________________________________________________ __________
Apache Interface to OpenSSL (mod_ssl) www.modssl.org
User Support Mailing List modssl-users@modssl.org
Automated List Manager majordomo@modssl.org

Re: 2.0.36 + mod-ssl + Win2k = Easy Money

am 10.06.2002 13:01:29 von John

Thanks everyone, we now have everything working fine.

A quick howto for beginners (who perhaps experience what we have
experienced):

If you want win2k + mod-ssl, don't trust the apache HOWTO at
http://httpd.apache.org/docs-2.0/platform/win_compiling.html , they may
be fine for those who don't need ssl (and those people can simply use
the supplied binaries) but they are wrong if you need ssl.

Firstly, don't use the perl examples given on apache.org to prepare and
compile openssl, use the instructions in INSTALL.W32 that comes with the
openSSL source.

We eventually found that with visual C++ 6 we could compile apache
without ssl fine. Later we compiled mod-ssl alone (also in VC++) and
moved the mod-ssl.so binary to the modules folder in the apache
installation.

And that's it, except you need to know how to start Apache in "ssl
mode".

from the console in the apache\bin use

>apache -D SSL

to install apache to run as a service with SSL

>apache -i -D SSL

Hope this helps someone out there, and thanks to everyone who helped us!

John.





----- Original Message -----
From: "Mark Chew"
To:
Sent: Monday, June 10, 2002 7:11 PM
Subject: Re: 2.0.36 + mod-ssl + Win2k = Easy Money


: Assuming the win2k service for Apache is created
: (else create one using sc command),
: try configure the Apache service properties like this :
:
: Path to executable:
: "C:\Program Files\Apache Group\Apache\Apache.exe" --ntservice
:
: Startup type:
: Automatic
:
:
:
: Regards,
: Mark
:
:
: >From: "John"
: >Reply-To: modssl-users@modssl.org
: >To:
: >Subject: Re: 2.0.36 + mod-ssl + Win2k = Easy Money
: >Date: Mon, 10 Jun 2002 17:20:20 +1200
: >
: >We have discovered that if we start Apache from the console with
: > >apache -D SSL on our windows server, then we have ssl support...
: >Please, someone, how do we get ssl support running as a service?
: >
: >It seems we have wasted a couple of days, simply to find this out!
: >
: >John.
: >
: >
: >
: >
:
>___________________________________________________________ ___________
: >Apache Interface to OpenSSL (mod_ssl)
www.modssl.org
: >User Support Mailing List
modssl-users@modssl.org
: >Automated List Manager
majordomo@modssl.org
:
:
:
:
: ____________________________________________________________ _____
: Chat with friends online, try MSN Messenger: http://messenger.msn.com
:
: ____________________________________________________________ __________
: Apache Interface to OpenSSL (mod_ssl) www.modssl.org
: User Support Mailing List modssl-users@modssl.org
: Automated List Manager majordomo@modssl.org
:

____________________________________________________________ __________
Apache Interface to OpenSSL (mod_ssl) www.modssl.org
User Support Mailing List modssl-users@modssl.org
Automated List Manager majordomo@modssl.org

Re: 2.0.36 + mod-ssl + Win2k = Easy Money

am 11.06.2002 07:05:52 von Phil Smiley

This is a multi-part message in MIME format.

------=_NextPart_000_026C_01C210DB.BFC869E0
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

I've successfully compiled Apacche 2.0.36 and openssl as this thread =
describes. I'm encountering problems building modssl though. When I =
try to use NMAKE /f "mod_ssl.mak" CFG=3D"mod_ssl - Win32 Release", i get =
the following:
link.exe @C:\DOCUME~1\ADMINI~1.000\LOCALS~1\Temp\nma02752. =
Creating library .\Release\libapr.lib and object .\Release\libapr.exp =
cd "..\..\modules\ssl" tempfile.batThe system cannot find the =
file specified.Could Not Find C:\httpd-2.0.36\modules\ssl\y.tab.cThe =
system cannot find the file specified.Could Not Find =
C:\httpd-2.0.36\modules\ssl\y.tab.hNMAKE : fatal error U1077: =
'tempfile.bat' : return code '0x1'Stop.
I didn't find these files anywhere in the apache or openssl directories.

When I used VC++, I get:
Linking... Creating library Debug/mod_ssl.lib and object =
Debug/mod_ssl.expssl_expr_scan.obj : error LNK2001: unresolved external =
symbol _ap_pstrdupDebug/mod_ssl.so : fatal error LNK1120: 1 unresolved =
externalsError executing link.exe.
mod_ssl.so - 2 error(s), 0 warning(s)
I'm sure its something obvious that I've overlooked. Does anyone have =
any suggestions?

Thanks; Phil

Thanks everyone, we now have everything working fine.

A quick howto for beginners (who perhaps experience what we have
experienced):

If you want win2k + mod-ssl, don't trust the apache HOWTO at
http://httpd.apache.org/docs-2.0/platform/win_compiling.html , they may
be fine for those who don't need ssl (and those people can simply use
the supplied binaries) but they are wrong if you need ssl.

Firstly, don't use the perl examples given on apache.org to prepare and
compile openssl, use the instructions in INSTALL.W32 that comes with the
openSSL source.

We eventually found that with visual C++ 6 we could compile apache
without ssl fine. Later we compiled mod-ssl alone (also in VC++) and
moved the mod-ssl.so binary to the modules folder in the apache
installation.

And that's it, except you need to know how to start Apache in "ssl
mode".

from the console in the apache\bin use

>apache -D SSL

to install apache to run as a service with SSL

>apache -i -D SSL

Hope this helps someone out there, and thanks to everyone who helped us!

John.





----- Original Message -----
From: "Mark Chew"
To:
Sent: Monday, June 10, 2002 7:11 PM
Subject: Re: 2.0.36 + mod-ssl + Win2k =3D Easy Money


: Assuming the win2k service for Apache is created
: (else create one using sc command),
: try configure the Apache service properties like this :
:
: Path to executable:
: "C:\Program Files\Apache Group\Apache\Apache.exe" --ntservice
:
: Startup type:
: Automatic
:
:
:
: Regards,
: Mark
:
:
: >From: "John"
: >Reply-To: modssl-users@modssl.org
: >To:
: >Subject: Re: 2.0.36 + mod-ssl + Win2k =3D Easy Money
: >Date: Mon, 10 Jun 2002 17:20:20 +1200
: >
: >We have discovered that if we start Apache from the console with
: > >apache -D SSL on our windows server, then we have ssl support...
: >Please, someone, how do we get ssl support running as a service?
: >
: >It seems we have wasted a couple of days, simply to find this out!
: >
: >John.
: >
: >
: >
: >
:
>___________________________________________________________ ___________
: >Apache Interface to OpenSSL (mod_ssl)
www.modssl.org
: >User Support Mailing List
modssl-users@modssl.org
: >Automated List Manager
majordomo@modssl.org
:
:
:
:
: ____________________________________________________________ _____
: Chat with friends online, try MSN Messenger: http://messenger.msn.com
:
: ____________________________________________________________ __________
: Apache Interface to OpenSSL (mod_ssl) www.modssl.org
: User Support Mailing List modssl-users@modssl.org
: Automated List Manager majordomo@modssl.org
:

____________________________________________________________ __________
Apache Interface to OpenSSL (mod_ssl) www.modssl.org
User Support Mailing List modssl-users@modssl.org
Automated List Manager majordomo@modssl.org


------=_NextPart_000_026C_01C210DB.BFC869E0
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable



charset=3Diso-8859-1">




I've successfully compiled Apacche =
2.0.36 and openssl as this thread describes. I'm encountering problems =
building modssl though. When I try to use NMAKE /f "mod_ssl.mak" =
CFG=3D"mod_ssl - Win32 Release", i get the =
following:

size=3D2>        link.exe =
@C:\DOCUME~1\ADMINI~1.000\LOCALS~1\Temp\nma02752.
   =
Creating library .\Release\libapr.lib and object =
..\Release\libapr.exp
        cd =
"..\..\modules\ssl"
        =
tempfile.bat
The system cannot find the file specified.
Could Not =
Find C:\httpd-2.0.36\modules\ssl\y.tab.c
The system cannot find the =
file specified.
Could Not Find =
C:\httpd-2.0.36\modules\ssl\y.tab.h
NMAKE : fatal error U1077: =
'tempfile.bat' : return code '0x1'
Stop.

face=3DArial size=3D2>I didn't find these files anywhere in the apache =
or openssl directories.

size=3D2> 
When I used =
VC++, I get:
Linking...
   Creating =
library Debug/mod_ssl.lib and object =
Debug/mod_ssl.exp
ssl_expr_scan.obj : error LNK2001: unresolved =
external symbol _ap_pstrdup
Debug/mod_ssl.so : fatal error LNK1120: 1 =
unresolved externals
Error executing link.exe.
mod_ssl.so - =
2 error(s), 0 warning(s)
I'm sure its something obvious that =
I've overlooked. Does anyone have any =
suggestions?
 
Thanks; Phil

face=3DArial size=3D2> 

size=3D2>Thanks everyone, we now have everything working fine.

A quick howto for beginners (who perhaps experience what we have
experienced):

If you want win2k + mod-ssl, don't trust the apache HOWTO at
http://httpd.apache.org/docs-2.0/platform/win_compiling.html , they may
be fine for those who don't need ssl (and those people can simply use
the supplied binaries) but they are wrong if you need ssl.

Firstly, don't use the perl examples given on apache.org to prepare and
compile openssl, use the instructions in INSTALL.W32 that comes with the
openSSL source.

We eventually found that with visual C++ 6 we could compile apache
without ssl fine. Later we compiled mod-ssl alone (also in VC++) and
moved the mod-ssl.so binary to the modules folder in the apache
installation.

And that's it, except you need to know how to start Apache in "ssl
mode".

from the console in the apache\bin use

>apache -D SSL

to install apache to run as a service with SSL

>apache -i -D SSL

Hope this helps someone out there, and thanks to everyone who helped us!

John.





----- Original Message -----
From: "Mark Chew" <mark__chew@hotmail.com>
To: <modssl-users@modssl.org>
Sent: Monday, June 10, 2002 7:11 PM
Subject: Re: 2.0.36 + mod-ssl + Win2k =3D Easy Money


: Assuming the win2k service for Apache is created
: (else create one using sc command),
: try configure the Apache service properties like this :
:
: Path to executable:
: "C:\Program Files\Apache Group\Apache\Apache.exe" --ntservice
:
: Startup type:
: Automatic
:
:
:
: Regards,
: Mark
:
:
: >From: "John" <john@aboutogo.com>
: >Reply-To: modssl-users@modssl.org
: >To: <modssl-users@modssl.org>
: >Subject: Re: 2.0.36 + mod-ssl + Win2k =3D Easy Money
: >Date: Mon, 10 Jun 2002 17:20:20 +1200
: >
: >We have discovered that if we start Apache from the console with
: > >apache -D SSL on our windows server, then we have ssl =
support...
: >Please, someone, how do we get ssl support running as a service?
: >
: >It seems we have wasted a couple of days, simply to find this out!
: >
: >John.
: >
: >
: >
: >
:
> ____________________________________________________________ _________=
_
: >Apache Interface to OpenSSL (mod_ssl)
www.modssl.org
: >User Support Mailing List
modssl-users@modssl.org
: >Automated List Manager
majordomo@modssl.org
:
:
:
:
: ____________________________________________________________ _____
: Chat with friends online, try MSN Messenger: http://messenger.msn.com
:
: ____________________________________________________________ __________
: Apache Interface to OpenSSL (mod_ssl) www.modssl.org
: User Support Mailing List modssl-users@modssl.org
: Automated List Manager majordomo@modssl.org
:

____________________________________________________________ __________
Apache Interface to OpenSSL (mod_ssl) www.modssl.org
User Support Mailing List modssl-users@modssl.org
Automated List Manager
href=3D"mailto:majordomo@modssl.org"> size=3D2>majordomo@modssl.org


------=_NextPart_000_026C_01C210DB.BFC869E0--

____________________________________________________________ __________
Apache Interface to OpenSSL (mod_ssl) www.modssl.org
User Support Mailing List modssl-users@modssl.org
Automated List Manager majordomo@modssl.org

Re: 2.0.36 + mod-ssl + Win2k = Easy Money

am 11.06.2002 18:52:09 von Victor Medina

Most probably you haven´t add path to the ssl dll´s or lib inside VS, go to
tools\configure\directories and add the path to the include and bin folders
of your OpenSSL installation this should work just fine

Best Regards

Victor Medina
Universidad Tecnologica del Centro
Valencia-Venezuela
(http://www.unitec.edu.ve)



At 12:05 AM 6/11/2002 -0500, you wrote:

>I've successfully compiled Apacche 2.0.36 and openssl as this thread
>describes. I'm encountering problems building modssl though. When I try
>to use NMAKE /f "mod_ssl.mak" CFG="mod_ssl - Win32 Release", i get the
>following:
> link.exe @C:\DOCUME~1\ADMINI~1.000\LOCALS~1\Temp\nma02752.
> Creating library .\Release\libapr.lib and object .\Release\libapr.exp
> cd "..\..\modules\ssl"
> tempfile.bat
>The system cannot find the file specified.
>Could Not Find C:\httpd-2.0.36\modules\ssl\y.tab.c
>The system cannot find the file specified.
>Could Not Find C:\httpd-2.0.36\modules\ssl\y.tab.h
>NMAKE : fatal error U1077: 'tempfile.bat' : return code '0x1'
>Stop.
>I didn't find these files anywhere in the apache or openssl directories.
>
>When I used VC++, I get:
>Linking...
> Creating library Debug/mod_ssl.lib and object Debug/mod_ssl.exp
>ssl_expr_scan.obj : error LNK2001: unresolved external symbol _ap_pstrdup
>Debug/mod_ssl.so : fatal error LNK1120: 1 unresolved externals
>Error executing link.exe.
>mod_ssl.so - 2 error(s), 0 warning(s)
>I'm sure its something obvious that I've overlooked. Does anyone have any
>suggestions?
>
>Thanks; Phil
>
>Thanks everyone, we now have everything working fine.
>
>A quick howto for beginners (who perhaps experience what we have
>experienced):
>
>If you want win2k + mod-ssl, don't trust the apache HOWTO at
>http://httpd.apache.org/docs-2.0/platform/win_compiling.htm l, they may
>be fine for those who don't need ssl (and those people can simply use
>the supplied binaries) but they are wrong if you need ssl.
>
>Firstly, don't use the perl examples given on apache.org to prepare and
>compile openssl, use the instructions in INSTALL.W32 that comes with the
>openSSL source.
>
>We eventually found that with visual C++ 6 we could compile apache
>without ssl fine. Later we compiled mod-ssl alone (also in VC++) and
>moved the mod-ssl.so binary to the modules folder in the apache
>installation.
>
>And that's it, except you need to know how to start Apache in "ssl
>mode".
>
>from the console in the apache\bin use
>
> >apache -D SSL
>
>to install apache to run as a service with SSL
>
> >apache -i -D SSL
>
>Hope this helps someone out there, and thanks to everyone who helped us!
>
>John.
>
>
>
>
>
>----- Original Message -----
>From: "Mark Chew"
>To:
>Sent: Monday, June 10, 2002 7:11 PM
>Subject: Re: 2.0.36 + mod-ssl + Win2k = Easy Money
>
>
>: Assuming the win2k service for Apache is created
>: (else create one using sc command),
>: try configure the Apache service properties like this :
>:
>: Path to executable:
>: "C:\Program Files\Apache Group\Apache\Apache.exe" --ntservice
>:
>: Startup type:
>: Automatic
>:
>:
>:
>: Regards,
>: Mark
>:
>:
>: >From: "John"
>: >Reply-To: modssl-users@modssl.org
>: >To:
>: >Subject: Re: 2.0.36 + mod-ssl + Win2k = Easy Money
>: >Date: Mon, 10 Jun 2002 17:20:20 +1200
>: >
>: >We have discovered that if we start Apache from the console with
>: > >apache -D SSL on our windows server, then we have ssl support...
>: >Please, someone, how do we get ssl support running as a service?
>: >
>: >It seems we have wasted a couple of days, simply to find this out!
>: >
>: >John.
>: >
>: >
>: >
>: >
>:
> >___________________________________________________________ ___________
>: >Apache Interface to OpenSSL (mod_ssl)
>www.modssl.org
>: >User Support Mailing List
>modssl-users@modssl.org
>: >Automated List Manager
>majordomo@modssl.org
>:
>:
>:
>:
>: ____________________________________________________________ _____
>: Chat with friends online, try MSN Messenger: http://messenger.msn.com
>:
>: ____________________________________________________________ __________
>: Apache Interface to OpenSSL (mod_ssl) www.modssl.org
>: User Support Mailing List modssl-users@modssl.org
>: Automated List Manager majordomo@modssl.org
>:
>
>___________________________________________________________ ___________
>Apache Interface to OpenSSL (mod_ssl) www.modssl.org
>User Support Mailing List modssl-users@modssl.org
>Automated List
>Manager
>majordomo@modssl.org

____________________________________________________________ __________
Apache Interface to OpenSSL (mod_ssl) www.modssl.org
User Support Mailing List modssl-users@modssl.org
Automated List Manager majordomo@modssl.org

Re: 2.0.36 + mod-ssl + Win2k = Easy Money

am 12.06.2002 02:54:35 von Phil Smiley

I've included the following libs with the results I soecified below.

kernel32.lib user32.lib wsock32.lib ws2_32.lib advapi32.lib gdi32.lib
ssleay32.lib libeay32.lib libapr.lib libaprutil.lib libhttpd.lib

I also included the directories with the openssl libraries. Same result.

Thanks; Phil

----- Original Message -----
From: "Victor Medina"
To:
Sent: Tuesday, June 11, 2002 11:52 AM
Subject: Re: 2.0.36 + mod-ssl + Win2k = Easy Money


> Most probably you haven´t add path to the ssl dll´s or lib inside VS, go
to
> tools\configure\directories and add the path to the include and bin
folders
> of your OpenSSL installation this should work just fine
>
> Best Regards
>
> Victor Medina
> Universidad Tecnologica del Centro
> Valencia-Venezuela
> (http://www.unitec.edu.ve)
>
>
>
> At 12:05 AM 6/11/2002 -0500, you wrote:
>
> >I've successfully compiled Apacche 2.0.36 and openssl as this thread
> >describes. I'm encountering problems building modssl though. When I try
> >to use NMAKE /f "mod_ssl.mak" CFG="mod_ssl - Win32 Release", i get the
> >following:
> > link.exe @C:\DOCUME~1\ADMINI~1.000\LOCALS~1\Temp\nma02752.
> > Creating library .\Release\libapr.lib and object .\Release\libapr.exp
> > cd "..\..\modules\ssl"
> > tempfile.bat
> >The system cannot find the file specified.
> >Could Not Find C:\httpd-2.0.36\modules\ssl\y.tab.c
> >The system cannot find the file specified.
> >Could Not Find C:\httpd-2.0.36\modules\ssl\y.tab.h
> >NMAKE : fatal error U1077: 'tempfile.bat' : return code '0x1'
> >Stop.
> >I didn't find these files anywhere in the apache or openssl directories.
> >
> >When I used VC++, I get:
> >Linking...
> > Creating library Debug/mod_ssl.lib and object Debug/mod_ssl.exp
> >ssl_expr_scan.obj : error LNK2001: unresolved external symbol _ap_pstrdup
> >Debug/mod_ssl.so : fatal error LNK1120: 1 unresolved externals
> >Error executing link.exe.
> >mod_ssl.so - 2 error(s), 0 warning(s)
> >I'm sure its something obvious that I've overlooked. Does anyone have
any
> >suggestions?
> >
> >Thanks; Phil
> >
> >Thanks everyone, we now have everything working fine.
> >
> >A quick howto for beginners (who perhaps experience what we have
> >experienced):
> >
> >If you want win2k + mod-ssl, don't trust the apache HOWTO at
> >http://httpd.apache.org/docs-2.0/platform/win_compiling.htm l, they may
> >be fine for those who don't need ssl (and those people can simply use
> >the supplied binaries) but they are wrong if you need ssl.
> >
> >Firstly, don't use the perl examples given on apache.org to prepare and
> >compile openssl, use the instructions in INSTALL.W32 that comes with the
> >openSSL source.
> >
> >We eventually found that with visual C++ 6 we could compile apache
> >without ssl fine. Later we compiled mod-ssl alone (also in VC++) and
> >moved the mod-ssl.so binary to the modules folder in the apache
> >installation.
> >
> >And that's it, except you need to know how to start Apache in "ssl
> >mode".
> >
> >from the console in the apache\bin use
> >
> > >apache -D SSL
> >
> >to install apache to run as a service with SSL
> >
> > >apache -i -D SSL
> >
> >Hope this helps someone out there, and thanks to everyone who helped us!
> >
> >John.
> >
> >
> >
> >
> >
> >----- Original Message -----
> >From: "Mark Chew"
> >To:
> >Sent: Monday, June 10, 2002 7:11 PM
> >Subject: Re: 2.0.36 + mod-ssl + Win2k = Easy Money
> >
> >
> >: Assuming the win2k service for Apache is created
> >: (else create one using sc command),
> >: try configure the Apache service properties like this :
> >:
> >: Path to executable:
> >: "C:\Program Files\Apache Group\Apache\Apache.exe" --ntservice
> >:
> >: Startup type:
> >: Automatic
> >:
> >:
> >:
> >: Regards,
> >: Mark
> >:
> >:
> >: >From: "John"
> >: >Reply-To: modssl-users@modssl.org
> >: >To:
> >: >Subject: Re: 2.0.36 + mod-ssl + Win2k = Easy Money
> >: >Date: Mon, 10 Jun 2002 17:20:20 +1200
> >: >
> >: >We have discovered that if we start Apache from the console with
> >: > >apache -D SSL on our windows server, then we have ssl support...
> >: >Please, someone, how do we get ssl support running as a service?
> >: >
> >: >It seems we have wasted a couple of days, simply to find this out!
> >: >
> >: >John.
> >: >
> >: >
> >: >
> >: >
> >:
> > >___________________________________________________________ ___________
> >: >Apache Interface to OpenSSL (mod_ssl)
> >www.modssl.org
> >: >User Support Mailing List
> >modssl-users@modssl.org
> >: >Automated List Manager
> >majordomo@modssl.org
> >:
> >:
> >:
> >:
> >: ____________________________________________________________ _____
> >: Chat with friends online, try MSN Messenger: http://messenger.msn.com
> >:
> >: ____________________________________________________________ __________
> >: Apache Interface to OpenSSL (mod_ssl) www.modssl.org
> >: User Support Mailing List modssl-users@modssl.org
> >: Automated List Manager majordomo@modssl.org
> >:
> >
> >___________________________________________________________ ___________
> >Apache Interface to OpenSSL (mod_ssl) www.modssl.org
> >User Support Mailing List modssl-users@modssl.org
> >Automated List
> >Manager
> >majordomo@modssl.org
>
> ____________________________________________________________ __________
> Apache Interface to OpenSSL (mod_ssl) www.modssl.org
> User Support Mailing List modssl-users@modssl.org
> Automated List Manager majordomo@modssl.org

____________________________________________________________ __________
Apache Interface to OpenSSL (mod_ssl) www.modssl.org
User Support Mailing List modssl-users@modssl.org
Automated List Manager majordomo@modssl.org

Re: 2.0.36 + mod-ssl + Win2k = Easy Money

am 12.06.2002 14:13:35 von Dwayne Miller

I just recently built the 2.0.36 + ssl tree and had similar results.
Although the error messages were slightly different, the root cause
might be the same.

Turns out that several .c and .h files are delivered with dates earlier
than the .y and .l files they are built from. However, the .c and .h
files are actually up-to-date. So, by simply 'touching' (I used an
editor to add a blank line) to the .c and .h files to make their dates
more recent than their source files, and the system will not try to
build them again. (I thought that I read that this problem had been
corrected in the 2.0.36 tree, but apparently not).

Anyway, I also had to uninstall the bison utility (I did not have the
other required tools, lex, sed and yacc anyway) before this would
actually work. Having bison on my system, even with the modified file
dates, would still cause an error for some reason. Removing bison and
altering the file dates allowed the build to work as expected.

The files that you need to 'touch' are
ssl_expr_parse.c
ssl_expr_parse.h
ssl_expr_scan.c

Since you have run the make with errors, you will probably have to
reinstall these files from the distribution before running make again.
They might have been emptied as a result of your failed make.

Hope this helps

Phil Smiley wrote:

>I've included the following libs with the results I soecified below.
>
>kernel32.lib user32.lib wsock32.lib ws2_32.lib advapi32.lib gdi32.lib
>ssleay32.lib libeay32.lib libapr.lib libaprutil.lib libhttpd.lib
>
>I also included the directories with the openssl libraries. Same result.
>
>Thanks; Phil
>
>----- Original Message -----
>From: "Victor Medina"
>To:
>Sent: Tuesday, June 11, 2002 11:52 AM
>Subject: Re: 2.0.36 + mod-ssl + Win2k = Easy Money
>
>
>
>
>>Most probably you haven´t add path to the ssl dll´s or lib inside VS, go
>>
>>
>to
>
>
>>tools\configure\directories and add the path to the include and bin
>>
>>
>folders
>
>
>>of your OpenSSL installation this should work just fine
>>
>>Best Regards
>>
>>Victor Medina
>>Universidad Tecnologica del Centro
>>Valencia-Venezuela
>>(http://www.unitec.edu.ve)
>>
>>
>>
>>At 12:05 AM 6/11/2002 -0500, you wrote:
>>
>>
>>
>>>I've successfully compiled Apacche 2.0.36 and openssl as this thread
>>>describes. I'm encountering problems building modssl though. When I try
>>>to use NMAKE /f "mod_ssl.mak" CFG="mod_ssl - Win32 Release", i get the
>>>following:
>>> link.exe @C:\DOCUME~1\ADMINI~1.000\LOCALS~1\Temp\nma02752.
>>> Creating library .\Release\libapr.lib and object .\Release\libapr.exp
>>> cd "..\..\modules\ssl"
>>> tempfile.bat
>>>The system cannot find the file specified.
>>>Could Not Find C:\httpd-2.0.36\modules\ssl\y.tab.c
>>>The system cannot find the file specified.
>>>Could Not Find C:\httpd-2.0.36\modules\ssl\y.tab.h
>>>NMAKE : fatal error U1077: 'tempfile.bat' : return code '0x1'
>>>Stop.
>>>I didn't find these files anywhere in the apache or openssl directories.
>>>
>>>When I used VC++, I get:
>>>Linking...
>>> Creating library Debug/mod_ssl.lib and object Debug/mod_ssl.exp
>>>ssl_expr_scan.obj : error LNK2001: unresolved external symbol _ap_pstrdup
>>>Debug/mod_ssl.so : fatal error LNK1120: 1 unresolved externals
>>>Error executing link.exe.
>>>mod_ssl.so - 2 error(s), 0 warning(s)
>>>I'm sure its something obvious that I've overlooked. Does anyone have
>>>
>>>
>any
>
>
>>>suggestions?
>>>
>>>Thanks; Phil
>>>
>>>Thanks everyone, we now have everything working fine.
>>>
>>>A quick howto for beginners (who perhaps experience what we have
>>>experienced):
>>>
>>>If you want win2k + mod-ssl, don't trust the apache HOWTO at
>>>http://httpd.apache.org/docs-2.0/platform/win_compiling.h tml, they may
>>>be fine for those who don't need ssl (and those people can simply use
>>>the supplied binaries) but they are wrong if you need ssl.
>>>
>>>Firstly, don't use the perl examples given on apache.org to prepare and
>>>compile openssl, use the instructions in INSTALL.W32 that comes with the
>>>openSSL source.
>>>
>>>We eventually found that with visual C++ 6 we could compile apache
>>>without ssl fine. Later we compiled mod-ssl alone (also in VC++) and
>>>moved the mod-ssl.so binary to the modules folder in the apache
>>>installation.
>>>
>>>And that's it, except you need to know how to start Apache in "ssl
>>>mode".
>>>
>>>
>>>
>>>from the console in the apache\bin use
>>
>>
>>>>apache -D SSL
>>>>
>>>>
>>>to install apache to run as a service with SSL
>>>
>>>
>>>
>>>>apache -i -D SSL
>>>>
>>>>
>>>Hope this helps someone out there, and thanks to everyone who helped us!
>>>
>>>John.
>>>
>>>
>>>
>>>
>>>
>>>----- Original Message -----
>>>From: "Mark Chew"
>>>To:
>>>Sent: Monday, June 10, 2002 7:11 PM
>>>Subject: Re: 2.0.36 + mod-ssl + Win2k = Easy Money
>>>
>>>
>>>: Assuming the win2k service for Apache is created
>>>: (else create one using sc command),
>>>: try configure the Apache service properties like this :
>>>:
>>>: Path to executable:
>>>: "C:\Program Files\Apache Group\Apache\Apache.exe" --ntservice
>>>:
>>>: Startup type:
>>>: Automatic
>>>:
>>>:
>>>:
>>>: Regards,
>>>: Mark
>>>:
>>>:
>>>: >From: "John"
>>>: >Reply-To: modssl-users@modssl.org
>>>: >To:
>>>: >Subject: Re: 2.0.36 + mod-ssl + Win2k = Easy Money
>>>: >Date: Mon, 10 Jun 2002 17:20:20 +1200
>>>: >
>>>: >We have discovered that if we start Apache from the console with
>>>: > >apache -D SSL on our windows server, then we have ssl support...
>>>: >Please, someone, how do we get ssl support running as a service?
>>>: >
>>>: >It seems we have wasted a couple of days, simply to find this out!
>>>: >
>>>: >John.
>>>: >
>>>: >
>>>: >
>>>: >
>>>:
>>>
>>>
>>>>________________________________________________________ ______________
>>>>
>>>>
>>>: >Apache Interface to OpenSSL (mod_ssl)
>>>www.modssl.org
>>>: >User Support Mailing List
>>>modssl-users@modssl.org
>>>: >Automated List Manager
>>>majordomo@modssl.org
>>>:
>>>:
>>>:
>>>:
>>>: ____________________________________________________________ _____
>>>: Chat with friends online, try MSN Messenger: http://messenger.msn.com
>>>:
>>>: ____________________________________________________________ __________
>>>: Apache Interface to OpenSSL (mod_ssl) www.modssl.org
>>>: User Support Mailing List modssl-users@modssl.org
>>>: Automated List Manager majordomo@modssl.org
>>>:
>>>
>>>_________________________________________________________ _____________
>>>Apache Interface to OpenSSL (mod_ssl) www.modssl.org
>>>User Support Mailing List modssl-users@modssl.org
>>>Automated List
>>>Manager
>>>majordomo@modssl.org
>>>
>>>
>>__________________________________________________________ ____________
>>Apache Interface to OpenSSL (mod_ssl) www.modssl.org
>>User Support Mailing List modssl-users@modssl.org
>>Automated List Manager majordomo@modssl.org
>>
>>
>
>___________________________________________________________ ___________
>Apache Interface to OpenSSL (mod_ssl) www.modssl.org
>User Support Mailing List modssl-users@modssl.org
>Automated List Manager majordomo@modssl.org
>
>


____________________________________________________________ __________
Apache Interface to OpenSSL (mod_ssl) www.modssl.org
User Support Mailing List modssl-users@modssl.org
Automated List Manager majordomo@modssl.org

Re: 2.0.36 + mod-ssl + Win2k = Easy Money

am 16.06.2002 09:26:53 von Phil Smiley

----- Original Message -----
From: "Dwayne Miller"
To:
Sent: Wednesday, June 12, 2002 7:13 AM
Subject: Re: 2.0.36 + mod-ssl + Win2k = Easy Money


> I just recently built the 2.0.36 + ssl tree and had similar results.
> Although the error messages were slightly different, the root cause
> might be the same.
>
> Turns out that several .c and .h files are delivered with dates earlier
> than the .y and .l files they are built from. However, the .c and .h
> files are actually up-to-date. So, by simply 'touching' (I used an
> editor to add a blank line) to the .c and .h files to make their dates
> more recent than their source files, and the system will not try to
> build them again. (I thought that I read that this problem had been
> corrected in the 2.0.36 tree, but apparently not).
>
> Anyway, I also had to uninstall the bison utility (I did not have the
> other required tools, lex, sed and yacc anyway) before this would
> actually work. Having bison on my system, even with the modified file
> dates, would still cause an error for some reason. Removing bison and
> altering the file dates allowed the build to work as expected.
>
> The files that you need to 'touch' are
> ssl_expr_parse.c
> ssl_expr_parse.h
> ssl_expr_scan.c

In the version of Apache that I have (2.0.36), the .c and .h files above
have later dates than the .y and .l files. Still, nmake tries to rebuild
them. I got around this by taking out the generation steps in mod_ssl.mak.
This works. I now have Apache 2.0..36 running on Win2K with ssl support.
Thanks to everyone on this thread for their suggestions and shared
experiences.

Phil

____________________________________________________________ __________
Apache Interface to OpenSSL (mod_ssl) www.modssl.org
User Support Mailing List modssl-users@modssl.org
Automated List Manager majordomo@modssl.org