<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://www.chepkov.com/w/index.php?action=history&amp;feed=atom&amp;title=Inetd_HTTP_server</id>
	<title>Inetd HTTP server - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://www.chepkov.com/w/index.php?action=history&amp;feed=atom&amp;title=Inetd_HTTP_server"/>
	<link rel="alternate" type="text/html" href="https://www.chepkov.com/w/index.php?title=Inetd_HTTP_server&amp;action=history"/>
	<updated>2026-04-30T17:30:20Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.6</generator>
	<entry>
		<id>https://www.chepkov.com/w/index.php?title=Inetd_HTTP_server&amp;diff=471&amp;oldid=prev</id>
		<title>Vvc at 19:02, 5 November 2010</title>
		<link rel="alternate" type="text/html" href="https://www.chepkov.com/w/index.php?title=Inetd_HTTP_server&amp;diff=471&amp;oldid=prev"/>
		<updated>2010-11-05T19:02:36Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;In case you need a place holder or redirector for http server it&amp;#039;s easy to implement using the following:&lt;br /&gt;
&lt;br /&gt;
Add to /etc/inetd.conf (or similar)&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
http    stream  tcp     nowait  nobody  /usr/local/bin/tiny_httpd&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now create the /usr/local/bin/tiny_httpd:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#!/usr/bin/tail -n+2&lt;br /&gt;
HTTP/1.1 200 OK&lt;br /&gt;
Server: Tail_Server/1.0 (Unix)&lt;br /&gt;
Last-Modified:  Sat, 15 Dec 2007 20:00:00 GMT&lt;br /&gt;
Connection: close&lt;br /&gt;
Content-Type: text/html&lt;br /&gt;
&lt;br /&gt;
&amp;lt;HTML&amp;gt;&lt;br /&gt;
 ....&lt;br /&gt;
whatever message is required&lt;br /&gt;
....&lt;br /&gt;
&amp;lt;/HTML&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>Vvc</name></author>
	</entry>
</feed>