BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Upgraded Apache, Delphi 7, and Intraweb

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Thirdparty Tools (IntraWeb)
View previous topic :: View next topic  
Author Message
Tom Backer Johnsen
Guest





PostPosted: Sun May 13, 2007 1:39 pm    Post subject: Upgraded Apache, Delphi 7, and Intraweb Reply with quote



I have recently upgraded my web server to the latest version of Apache
and find that the old versions of my .so files need to be recompiled.
I remember having seen some changes that dr Bob listed on a page
somewhere to make Intraweb 5.1 and D7 work together with the new
Apache, but I cannot for the life of me remember where that was.

Can somebody be so kind as to point me in the right direction ?

Tom
Back to top
Farshad
Guest





PostPosted: Sun May 13, 2007 3:15 pm    Post subject: Re: Upgraded Apache, Delphi 7, and Intraweb Reply with quote



http://www.drbob42.com/delphi7/apache2040.htm
Back to top
Tom Backer Johnsen
Guest





PostPosted: Sun May 13, 2007 5:02 pm    Post subject: Re: Upgraded Apache, Delphi 7, and Intraweb Reply with quote



Farshad wrote:
Quote:
http://www.drbob42.com/delphi7/apache2040.htm

Thanks!

Tom
Back to top
Tom Backer Johnsen
Guest





PostPosted: Fri May 18, 2007 8:13 am    Post subject: Re: Upgraded Apache, Delphi 7, and Intraweb Reply with quote

Farshad wrote:
Quote:
http://www.drbob42.com/delphi7/apache2040.htm

I now see that this covers versions up to Apache 2.0.55. But the most
current version of Apache one I have (downloaded abaout a month ago)
is 2.2.40, and the compiled SO's from D7 (even after the recommended
changes for 2.0.55) does not work with that version.

In other words, what changes are needed for units compiled with D7 in
order to make them work with Apache 2.2.40?

Tom
Back to top
MRCarver
Guest





PostPosted: Fri May 18, 2007 9:15 pm    Post subject: Re: Upgraded Apache, Delphi 7, and Intraweb Reply with quote

Tom Backer Johnsen wrote:
Quote:
Farshad wrote:
http://www.drbob42.com/delphi7/apache2040.htm

I now see that this covers versions up to Apache 2.0.55. But the most
current version of Apache one I have (downloaded abaout a month ago) is
2.2.40, and the compiled SO's from D7 (even after the recommended
changes for 2.0.55) does not work with that version.

In other words, what changes are needed for units compiled with D7 in
order to make them work with Apache 2.2.40?

Tom
I forget all the changes we made, but initially we followd DrBob's

recommendations, and got it going.

These days we have gone to services (except on a rare occasion), even
though we can still compile a DSO even in D2007.

Regards,
Monte Carver
Back to top
Farshad
Guest





PostPosted: Fri May 18, 2007 10:06 pm    Post subject: Re: Upgraded Apache, Delphi 7, and Intraweb Reply with quote

Yes, the document doesn't cover recent versions of Apache. Unfortunately it
seems that the Apache development guys do not care much about backward
compatibility and it's a shame for OpenSource community while they always
accuse MS for compatibility issues.

Anyway, the freepascal community have a list for MAGIC_NUMBERs for
different Apache versions:

http://svn.freepascal.org/svn/fpc/trunk/packages/base/httpd/httpd-2.2/ap_mmn.inc

Check the above link and find the correct Magic Numbers that matches your
current version of Apache. Try recompiling your app using those numbers.

"Tom Backer Johnsen" wrote
Quote:
I now see that this covers versions up to Apache 2.0.55. But the most
current version of Apache one I have (downloaded abaout a month ago) is
2.2.40, and the compiled SO's from D7 (even after the recommended changes
for 2.0.55) does not work with that version.

In other words, what changes are needed for units compiled with D7 in
order to make them work with Apache 2.2.40?
Back to top
Tom Backer Johnsen
Guest





PostPosted: Mon May 21, 2007 12:34 am    Post subject: Re: Upgraded Apache, Delphi 7, and Intraweb Reply with quote

Farshad wrote:
Quote:
Yes, the document doesn't cover recent versions of Apache. Unfortunately it
seems that the Apache development guys do not care much about backward
compatibility and it's a shame for OpenSource community while they always
accuse MS for compatibility issues.

Anyway, the freepascal community have a list for MAGIC_NUMBERs for
different Apache versions:

http://svn.freepascal.org/svn/fpc/trunk/packages/base/httpd/httpd-2.2/ap_mmn.inc

Check the above link and find the correct Magic Numbers that matches your
current version of Apache. Try recompiling your app using those numbers.

Jepp, will do. Thank you!

Tom
Quote:

"Tom Backer Johnsen" wrote
I now see that this covers versions up to Apache 2.0.55. But the most
current version of Apache one I have (downloaded abaout a month ago) is
2.2.40, and the compiled SO's from D7 (even after the recommended changes
for 2.0.55) does not work with that version.

In other words, what changes are needed for units compiled with D7 in
order to make them work with Apache 2.2.40?


Back to top
Tom Backer Johnsen
Guest





PostPosted: Mon May 21, 2007 1:32 am    Post subject: Re: Upgraded Apache, Delphi 7, and Intraweb Reply with quote

Farshad wrote:
Quote:
Yes, the document doesn't cover recent versions of Apache. Unfortunately it
seems that the Apache development guys do not care much about backward
compatibility and it's a shame for OpenSource community while they always
accuse MS for compatibility issues.

Anyway, the freepascal community have a list for MAGIC_NUMBERs for
different Apache versions:

http://svn.freepascal.org/svn/fpc/trunk/packages/base/httpd/httpd-2.2/ap_mmn.inc

Check the above link and find the correct Magic Numbers that matches your
current version of Apache. Try recompiling your app using those numbers.

That was a distinct improvement, but still somewhat lacking, The
highest version number in that page is 2.2.3 as far as I can see,
while the current version of Apache is 2.2.4.

Tom
Quote:

"Tom Backer Johnsen" wrote
I now see that this covers versions up to Apache 2.0.55. But the most
current version of Apache one I have (downloaded abaout a month ago) is
2.2.40, and the compiled SO's from D7 (even after the recommended changes
for 2.0.55) does not work with that version.

In other words, what changes are needed for units compiled with D7 in
order to make them work with Apache 2.2.40?


Back to top
Farshad
Guest





PostPosted: Mon May 21, 2007 2:11 am    Post subject: Re: Upgraded Apache, Delphi 7, and Intraweb Reply with quote

Quote:
That was a distinct improvement, but still somewhat lacking, The
highest version number in that page is 2.2.3 as far as I can see, > while
the current version of Apache is 2.2.4.try this:MODULE_MAGIC_NUMBER_MAJOR
= 20051115;

MODULE_MAGIC_NUMBER_MINOR = 4;
Back to top
Farshad
Guest





PostPosted: Mon May 21, 2007 2:12 am    Post subject: Re: Upgraded Apache, Delphi 7, and Intraweb Reply with quote

Quote:
That was a distinct improvement, but still somewhat lacking, The
highest version number in that page is 2.2.3 as far as I can see, > while
the current version of Apache is 2.2.4.

try this:

MODULE_MAGIC_NUMBER_MAJOR = 20051115;

MODULE_MAGIC_NUMBER_MINOR = 4;
Back to top
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Thirdparty Tools (IntraWeb) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.