🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.internet.web
Article #899

Re: Apache API webserver Creation

#899
From: Hans Galema
Date: Wed, 30 Nov 2005 09:51
29 lines
2225 bytes
Lee wrote:

> ... I want to 
> turn an existing small application into a webserver using the Apache API - 
> is this feasable?

To make a webserver you need to create a TCP/IP server that listens on -default-
port 80 and understands the HTTP protocol. You did not tell what kind
of things your application does now that could be used for the webserver too.
Nor did you tell why you think you need Apache API for creating a webserver. Well
I do not know Apache API so please explain.

> I am using Builder 6 to develop a small app that currently has http server 
> ability, but this needs upgrading as https needs supporting, 

How did you implement http ? Did you think of using TIdHTTP ? Don't know if
it supports https though.

> I want to know if it's possible to create a stand alone web server using the 
> Apache API rather than another component or library. 

You can create a webserver using just sockets instead of a component. You have
to implement the http protocol yourself then. What you have in mind with 'using
the Apache API' I don't know.

If you mean: using code from the Apache project. Yes you can do that if you
follow the rules.

Hans.
Technical Details
Message-ID: <438d7645$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!nx02.iad01.newshosting.com!newshosting.com!news-out.newsfeeds.com!propagator2-sterling.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mail
References: <4387343a$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: feeec,89a92430847cfcad
X-Google-Attributes: gidfeeec,public
X-Google-Language: ENGLISH,ASCII-7-bit
Date: Wed, 30 Nov 2005 10:51:01 +0100
From: Hans Galema <notused@notused.nl>
User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206)
X-Accept-Language: en-us, en
MIME-Version: 1.0
Newsgroups: borland.public.cppbuilder.internet.web
Subject: Re: Apache API webserver Creation
References: <4387343a$1@newsgroups.borland.com>
In-Reply-To: <4387343a$1@newsgroups.borland.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: 145.98.201.248
Message-ID: <438d7645$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1133344325 145.98.201.248 (30 Nov 2005 01:52:05 -0700)
Lines: 29
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!nx02.iad01.newshosting.com!newshosting.com!news-out.newsfeeds.com!propagator2-sterling.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mail