Omar,

To have your service stay loaded in Apache you need to make it a module, ie. a dll. Follow the instructions in D7 help to make an Apache 2 module, but also see http://www.drbob42.com/delphi7/apache2040.htm.

You will need to add lines to the file httpd.conf in the Apache program folder similar to the following. The name ApachePing-handler corresponds to the entry point declared in the Delphi dpr file.

LoadModule ApachePing_module modules/ApachePing.dll
<Location /Ping>
  SetHandler ApachePing-handler
</Location>
<Location /ping>
  SetHandler ApachePing-handler
</Location>


At 07:40 PM 6/3/2005, you wrote:
Hi
I made a delphi webservice as cgi, and i put it on an
apache server.
How can adjust my delphi program to stay in memory
when it was invoceted a first time by the client,
cause i want it to store values in memory to use it in
other invokation
thanx






_____________________________________________________________________________
D�couvrez le nouveau Yahoo! Mail : 1 Go d'espace de stockage pour vos mails, photos et vid�os !
Cr�ez votre Yahoo! Mail sur http://fr.mail.yahoo.com

_______________________________________________
Delphi mailing list -> [email protected]
http://www.elists.org/mailman/listinfo/delphi

/*
C. Walter Ogston
[EMAIL PROTECTED]
*/



_______________________________________________
Delphi mailing list -> [email protected]
http://www.elists.org/mailman/listinfo/delphi

Reply via email to