: i want to write an application to run on the net. learnt that i have to use apache and i installed it on my computer.(c:/program files/apache group/apache2). i study with Essential Delphi6 of Marco Cantu; and he tells to change the 'httpd.conf' file. i changed some lines as he says but i fall to run the samples.
: Any way; is there any one to help me understanding this apache way? if there is a simple sample or text for dummies like me i would be grateful and more happy than now please!!!
: Thanks in advance...
It depends on what kind of cgi applications you want to write. I successfully ran isapi DLLs in apache by adding the following lines to the httpd.conf:
AddHandler isapi-isa .dll
<Directory "C:/my site/cgi-bin/">
Options Indexes MultiViews ExecCGI
and making sure that the isapi mod is loaded (
LoadModule isapi_module modules/mod_isapi.so
If this is set, you can code an ISAPI DLL in Delphi, and place it in the example directory given above. This will allow you tou type the DLL as address in your browser and get a page. Here is an example of such an address: