Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-pascal / 2012-07

Small and not instalable web server for a local Pascal CGI application

5 messages · 5 people · –

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

luciano de souza

Hello all,
I am running some CGIs in localhost. When talking about web servers, the name of Apache comes as natural. However, I would like to share some zip files to show the results. For this purpose, Apache is not the best because I need something not instalable. I tried a small server called Mongoose. I was enthusiastic with the size: 140 kilobytes. Unfortunately, it used to fail when dealing with some UTF-8 PathInfos.
Regarding I don't need many resources to run simple applications in localhost, I would like indications about small, not instalable web servers, ideal for my simple and sharable Pascal CGIs! Does someone know something about this?
Regards,
Luciano

Michael Van Canneyt
to luciano de souza
luciano de souza wrote 12 lines
Hello all, I am running some CGIs in localhost. When talking about web servers, the name of Apache comes as natural. However, I would like to share some zip files to show the results. For this purpose, Apache is not the best because I need something not instalable. I tried a small server called Mongoose. I was enthusiastic with the size: 140 kilobytes. Unfortunately, it used to fail when dealing with some UTF-8 PathInfos. Regarding I don't need many resources to run simple applications in localhost, I would like indications about small, not instalable web servers, ideal for my simple and sharable Pascal CGIs! Does someone know something about this?

FPC comes with a small webserver ?
You don't even need the CGIs then.

Michael.

Jorge Aldo G. de F. Junior
to Michael Van Canneyt

Theres lightwebserver in Powutils

2012/7/12 Michael Van Canneyt :

Show quoted text 25 lines
On Thu, 12 Jul 2012, luciano de souza wrote: > Hello all, > I am running some CGIs in localhost. When talking about web servers, > the name of Apache comes as natural. However, I would like to share > some zip files to show the results. For this purpose, Apache is not > the best because I need something not instalable. > I tried a small server called Mongoose. I was enthusiastic with the > size: 140 kilobytes. Unfortunately, it used to fail when dealing with > some UTF-8 PathInfos. > Regarding I don't need many resources to run simple applications in > localhost, I would like indications about small, not instalable web > servers, ideal for my simple and sharable Pascal CGIs! Does someone > know something about this? FPC comes with a small webserver ? You don't even need the CGIs then. Michael. _______________________________________________ fpc-pascal maillist - http://lists.freepascal.org/mailman/listinfo/fpc-pascal
Graeme Geldenhuys
to luciano de souza: I am running some CGIs in localhost. When talking about web servers, the name of Apache…
luciano de souza wrote
localhost, I would like indications about small, not instalable web servers, ideal for my simple and sharable Pascal CGIs! Does someone know something about this?

Have a look an nYume. It is a small and easy, but fully functional HTTP-server. Multi-threaded, supports CGI and Virtual Hosts. It consists of 4 object pascal units and a total of 1000 lines of code. That's small, and very functional.

There is also the HttpServ example of Synapse.

Then there is the Aservia project from Powtils. It is based on nYume, but I don't actually know what they changed.
http://powtils.googlecode.com/svn/dev/tools/aservia/

I've personally had good success with the nYume project.

Regards, - Graeme - _______________________________________________ fpGUI - a cross-platform Free Pascal GUI toolkit http://fpgui.sourceforge.net