Article View: borland.public.cppbuilder.internet.web
Article #900Re: Apache API webserver Creation
From: Lee
Date: Wed, 30 Nov 2005 10:07
Date: Wed, 30 Nov 2005 10:07
45 lines
3005 bytes
3005 bytes
"Hans Galema" <notused@notused.nl> wrote in message news:438d7645$1@newsgroups.borland.com... > Lee wrote: > > 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. * My application acts like a normal webserver but parses the incoming http POST for certain command strings which it passes to other parts of my distributed app. I don't think I NEED Apache API to create a webserver, but I want ot know if the API can be used to simplify the process - look at it like this: I can do 3D animation on the pc natively, but using the DirectX API makes it much easier. > How did you implement http ? Did you think of using TIdHTTP ? Don't know > if > it supports https though. * Can't use that - I need it to be cross platform so I can't use the VCL. I also don't want to use CLX as it's not supported anymore. > 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. ~ Yup, but it's much harder work, especially if you are using SSL too. > If you mean: using code from the Apache project. Yes you can do that if > you > follow the rules. * True, but again I was trying to avoid that - because of how Apache works then extracting code will probably be just as much work as starting again. As an aside, after further research, I think the Apache API isn't what I expected it to be - I think it's used purely for Apache module creation - can anyone confirm this? > Hans. Thanks, Lee.
Technical Details
Message-ID:
<438d79c2@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newscon06.news.prodigy.com!newscon02.news.prodigy.com!prodigy.net!nx02.iad01.newshosting.com!newshosting.com!newsfeed.kamp.net!newsfeed.freenet.de!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<4387343a$1@newsgroups.borland.com> <438d7645$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 From: "Lee" <news@spam.faulty-towers.co.uk> Newsgroups: borland.public.cppbuilder.internet.web References: <4387343a$1@newsgroups.borland.com> <438d7645$1@newsgroups.borland.com> Subject: Re: Apache API webserver Creation Date: Wed, 30 Nov 2005 10:07:41 -0000 Lines: 48 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2900.2180 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 X-RFC2646: Format=Flowed; Response NNTP-Posting-Host: 213.123.137.251 Message-ID: <438d79c2@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1133345218 213.123.137.251 (30 Nov 2005 02:06:58 -0700) Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newscon06.news.prodigy.com!newscon02.news.prodigy.com!prodigy.net!nx02.iad01.newshosting.com!newshosting.com!newsfeed.kamp.net!newsfeed.freenet.de!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail