{"id":18632503,"url":"https://github.com/aaronjackson/2.11bsdhttpd","last_synced_at":"2025-04-11T07:31:04.463Z","repository":{"id":81726669,"uuid":"185062573","full_name":"AaronJackson/2.11BSDhttpd","owner":"AaronJackson","description":":earth_africa: A very simple and small web server for 2.11BSD, called by inetd","archived":false,"fork":false,"pushed_at":"2025-02-21T00:50:03.000Z","size":8,"stargazers_count":11,"open_issues_count":1,"forks_count":2,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-04-06T23:47:51.522Z","etag":null,"topics":["211bsd","httpd","pdp-11"],"latest_commit_sha":null,"homepage":"","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/AaronJackson.png","metadata":{"files":{"readme":"README.org","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-05-05T17:36:44.000Z","updated_at":"2025-02-21T00:50:04.000Z","dependencies_parsed_at":"2023-03-13T20:07:17.397Z","dependency_job_id":null,"html_url":"https://github.com/AaronJackson/2.11BSDhttpd","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AaronJackson%2F2.11BSDhttpd","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AaronJackson%2F2.11BSDhttpd/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AaronJackson%2F2.11BSDhttpd/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AaronJackson%2F2.11BSDhttpd/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/AaronJackson","download_url":"https://codeload.github.com/AaronJackson/2.11BSDhttpd/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248358840,"owners_count":21090442,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["211bsd","httpd","pdp-11"],"created_at":"2024-11-07T05:12:24.321Z","updated_at":"2025-04-11T07:31:04.409Z","avatar_url":"https://github.com/AaronJackson.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"* 2.11BSD httpd\n\nThis web server rapidly grew into something very different and reasonably powerful. Strongly recommended that you use the later versions, which can be found on the PiDP-11 google groups. At the time of writing, the latest version is https://groups.google.com/forum/#!msg/pidp-11/nE5W6wAEIxA/7mGpfjAYAwAJ\n\n\nA small, and fairly bad, web server which runs under 2.11BSD.\n\n- Only supports GET.\n- Will send images, add your own MIME types if you like.\n- Assumes web root is ~/var/www~\n- Probably insecure.\n- Contributions very welcome.\n\nIf my PDP-11 is running, you can see the page it hosts at\nhttp://catbert.rhwyd.co.uk or alternative\nhttp://emubert.rhwyd.co.uk\n\n** Setup Instructions\n\nCopy httpd.c to your PDP-11, compile it and move the binary to the\nproper place:\n\n#+BEGIN_SRC\ncc httpd.c -o httpd\nmv httpd /usr/libexec/httpd\n#+END_SRC\n\nAppend the following line to ~/etc/inetd.conf~\n\n#+BEGIN_SRC\nhttp    stream  tcp     nowait  nobody  /usr/libexec/tcpd       httpd\n#+END_SRC\nor\n#+BEGIN_SRC\nhttp    stream  tcp     nowait  nobody  /usr/libexec/httpd      httpd\n#+END_SRC\n\nusing ~tcpd~ instead of directly calling ~httpd~ (you can if you\nlike), will allow you to user your ~hosts.allow~ file to limit\naccess. If ~inetd~ was compiled with ~-DPARANOID~ (it probably was),\nit will also block hosts which have wrong reverse DNS records, which\nmay not be desirable.\n\nAppend the following line to ~/etc/services~\n\n#+BEGIN_SRC\nhttp            80/tcp\n#+END_SRC\n\nFind the process ID of inetd and send it a HUP:\n\n#+BEGIN_SRC\nps aux | grep inetd\nkill -HUP \u003cPID\u003e\n#+END_SRC\n\nFinally, create ~/var/www/index.html~, along with your other files,\nand ensure they are readable by nobody, or world readable.\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faaronjackson%2F2.11bsdhttpd","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faaronjackson%2F2.11bsdhttpd","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faaronjackson%2F2.11bsdhttpd/lists"}