AW: Postscript HTTP server

Date view Thread view Subject view Author view

From: Josef Dietl (
Date: Thu Apr 27 2000 - 02:22:59 PDT

An HTTPD in XSL-T, anyone ?


-----Ursprüngliche Nachricht-----
Von: Jim Whitehead []
Gesendet: Donnerstag, 27. April 2000 02:04
An: FoRK
Betreff: Postscript HTTP server

This wins my "twisted hack of the day" award: an HTTP server implemented in
Quoting from the Web site:


Well, first I must admit that PS-HTTPD needs to be run from inetd. The
reason is simply that Postscript doesn't have any ways to handle
TCP/IP-sockets, but it has the ability to read files (including stdin). This
means that the speed of the server never will be very thrilling, but that
wasn't the goal in the first place.

When accessed inetd runs ghostscript which in turn runs the PS-HTTPD-code.
PS-HTTPD reads the GET-line from the client and extracts the wanted file
which is read and sent back to the user. The server currently implements
only the small needed parts of the HTTP-protocol. This will change in the

More details here:

Never underestimate the power of a turing machine.

- Jim

Date view Thread view Subject view Author view

This archive was generated by hypermail 2b29 : Thu Apr 27 2000 - 02:18:13 PDT