Abstract
We describe a modular and customisable architecture for a WWW server run by Prolog programs and show how each of its components can be implemented. Our proposal employs standard Prolog-CGI technology but to improve efficiency we also use client-server modules to perform the actual services of the WWW site.