/etc/services
Add a line which resembles the following to /etc/services:
http 80/tcp
You can replace 80 with whatever port number you want to serve from. This explanation of the port number may help if you're confused.
/etc/inetd.conf
Add a line which resembles the following to /etc/inetd.conf:
http stream tcp nowait nobody /usr/local/etc/httpd/httpd
Replace /usr/local/etc/httpd/httpd
with wherever you are
keeping the server binary, and nobody with the user name you want
requests fulfilled as.
Find the inetd
process using ps
and
kill -HUP
it to restart it.
httpd@ncsa.uiuc.edu