This is a kind of FCGI, not what i am looking for...

And Xitami is windows only, my server can run on any FreePascal
supported platform :

Windows, Linux, FreeBSD, AmigaOS, BeOS, AtariOS, whatever...

I just want to embed harbour (hbrun) on my server to be able to serve
harbour pages.

I am not asking much, hbrun is already made, my server is already made.

I just need glue logic... I will release the result as opensource, to
allow other people to use it too...

2010/4/26 Maurilio Longo <maurilio.lo...@libero.it>:
> Jorge,
>
> if you can add to your server the LRWP protocol of the old xitami web server
> you can have what you need and it will be very fast too.
>
> I'm right now using a cgi-bin program written in harbour which interprets .prg
> code to produce .html pages, after first invocation the interpreter (called
> hscript) connects back to the server via LRWP and registers itself for the
> page it was first called for.
>
> >From there on every other call to that page goes from the webserver to 
> >hscript
> via LRWP protocol until hscript finds it has been idle for some time and it
> shuts down making the entire process repeat when that page will be called
> again in the future.
>
> I try to better explain:
>
> - http request reaches web server
> - web server sees it is for a page with .prg in its name
> - web server calls cgi-bin/hscript url
> - hscript creates the page as a normal cgi-bin program
> - before ending hscript starts itself as an LRWP client
> - web server returns .html page
> - web server accepts hscript as handler for that page
> - new requests go to the hscript client via LRWP
>
> This way every instance of hscript is a separate process (if it has problems
> it does not create problems to the web server) and after first call, all other
> calls to the same page are really very fast (think about it, all .dbf are
> already open, for example).
>
> If you want I can send you the LRWP protocol specifications, they're public,
> it is a very simple protocol, should require you more or less a day to fully
> implement and test it.
>
> Best regards.
>
> Maurilio.
>
>
> Jorge Aldo G. de F. Junior wrote:
>> Hello harbour developers,
>>
>> I've developed a webserver (with cookies, https etc) with freepascal
>> and i want to help creating an harbour server pages module for it.
>>
>> If interest arise i can add chroot functionalty to the server (The
>> major lacking functionality).
>>
>> My idea is to allow usage of harbour in server pages, alike PHP.
>>
>> I need help from harbour developers to help me integrate harbour to my
>> server : http://powtils.googlecode.com/svn/dev/tools/lightwebserver/
>>
>> if interest arise i can rewrite it to be completely harbour oriented
>> (IE, serving static content + harbour pages).
>>
>> I think that developing pure clipper solutions (including web
>> development) is an old desire of the comunity and i think i can help a
>> lot with this project.
>>
>> thank you in advance, J. Aldo.
>> _______________________________________________
>> Harbour mailing list (attachment size limit: 40KB)
>> Harbour@harbour-project.org
>> http://lists.harbour-project.org/mailman/listinfo/harbour
>>
>
> --
>  __________
> |  |  | |__| Maurilio Longo
> |_|_|_|____| farmaconsult s.r.l.
>
>
> _______________________________________________
> Harbour mailing list (attachment size limit: 40KB)
> Harbour@harbour-project.org
> http://lists.harbour-project.org/mailman/listinfo/harbour
>
_______________________________________________
Harbour mailing list (attachment size limit: 40KB)
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour

Reply via email to