 |
BorlandTalk.com Borland discussion newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
Tom Backer Johnsen Guest
|
Posted: Sun May 13, 2007 1:39 pm Post subject: Upgraded Apache, Delphi 7, and Intraweb |
|
|
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
|
|
| Back to top |
|
 |
Tom Backer Johnsen Guest
|
Posted: Sun May 13, 2007 5:02 pm Post subject: Re: Upgraded Apache, Delphi 7, and Intraweb |
|
|
Farshad wrote:
| Quote: | http://www.drbob42.com/delphi7/apache2040.htm
|
Thanks!
Tom |
|
| Back to top |
|
 |
Tom Backer Johnsen Guest
|
Posted: Fri May 18, 2007 8:13 am Post subject: Re: Upgraded Apache, Delphi 7, and Intraweb |
|
|
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
|
Posted: Fri May 18, 2007 9:15 pm Post subject: Re: Upgraded Apache, Delphi 7, and Intraweb |
|
|
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
|
Posted: Fri May 18, 2007 10:06 pm Post subject: Re: Upgraded Apache, Delphi 7, and Intraweb |
|
|
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
|
Posted: Mon May 21, 2007 12:34 am Post subject: Re: Upgraded Apache, Delphi 7, and Intraweb |
|
|
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
|
Posted: Mon May 21, 2007 1:32 am Post subject: Re: Upgraded Apache, Delphi 7, and Intraweb |
|
|
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
|
Posted: Mon May 21, 2007 2:11 am Post subject: Re: Upgraded Apache, Delphi 7, and Intraweb |
|
|
| 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
|
Posted: Mon May 21, 2007 2:12 am Post subject: Re: Upgraded Apache, Delphi 7, and Intraweb |
|
|
| 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 |
|
 |
|
|
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
|
|