about apache web server - Programmers Heaven

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

Welcome to the new platform of Programmer's Heaven! We apologize for the inconvenience caused, if you visited us from a broken link of the previous version. The main reason to move to a new platform is to provide more effective and collaborative experience to you all. Please feel free to experience the new platform and use its exciting features. Contact us for any issue that you need to get clarified. We are more than happy to help you.

about apache web server

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...

Comments

  • zibadianzibadian Posts: 6,349Member
    : 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:
    [code]
    AddHandler isapi-isa .dll


    AllowOverride None
    Options Indexes MultiViews ExecCGI

    [/code]
    and making sure that the isapi mod is loaded (
    [code]
    LoadModule isapi_module modules/mod_isapi.so
    [/code]
    is uncommented).

    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:
    [code]
    http://127.0.0.1/cgi-bin/isapiexample.dll/helloworld
    [/code]

Sign In or Register to comment.