in reply to Re^2: local webserver for CGI on linux
in thread local webserver for CGI on linux

Having never used apache, I figured that by the time I understand it I could have written something to do this (in perl).

Reading and understanding enough of RFC 2616 (for example) to implement your own web server effectively will take more time than installing and configuring Apache httpd through XAMPP or any decent modern free Unix-like system.