# 使用 Homebrew, Nix 安装 bozohttpd

查看 bozohttpd 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

## 安装

```sh
sudo av install brew:bozohttpd
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install bozohttpd
```

  证据: local Homebrew formula metadata

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#bozohttpd
```

  证据: nixpkgs package indexes: pkgs/by-name/bo/bozohttpd/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

## 软件包事实

- **软件包键:** brew:bozohttpd
- **软件包管理器:** Homebrew
- **版本:** 20260503
- **来源摘要:** Small and secure http version 1.1 server
- **主页:** <https://pkgsrc.se/www/bozohttpd>
- **最后更新:** 2026-05-10T16:49:33Z
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- bozohttpd (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

- 页面生成时间: 2026-08-03
- 管理器版本: 20260503
## 项目历史与用法

bozohttpd is NetBSD's small HTTP server, documented as a simple, relatively featureless server focused on simplicity and security. Its manual records a history from early Perl implementations through a C rewrite and later NetBSD integration.

### 项目历史

The official manual says bozohttpd was first written in Perl, based on another Perl HTTP server named tinyhttpd, then rewritten from scratch in Perl and again in C. Matthew R. Green is listed as the author, with a long contributor list from the NetBSD community.

From version 20060517, bozohttpd became integrated into NetBSD. The NetBSD source tree keeps it under libexec/httpd, and the CHANGES file documents an ongoing maintenance stream of portability, CGI, TLS, directory listing, authentication, MIME type, and security fixes.

### 采用历史

The main adoption path is operating-system integration rather than standalone application hype: bozohttpd ships as a NetBSD component and is packaged by systems such as Homebrew and Nix according to the input package facts.

Its history shows continued downstream-driven maintenance. The CHANGES file names fixes and contributions for FreeBSD portability, Linux builds, Debian bug reports, OpenSSL changes, and NetBSD problem reports.

### 使用方式

bozohttpd serves static files and optional CGI-style dynamic content with a deliberately small feature set. The manual covers daemon mode, virtual hosts, TLS options, directory indexing, basic authentication, CGI mappings, and Lua script handling.

The package is most useful when a small local or system HTTP daemon is enough and a larger web server would be excessive. Its `.htpasswd` support explains the credentials-file curation for basic authentication.

### 为什么软件包爱好者会关心

bozohttpd matters to package nerds because it is a BSD base-system web server that is still portable enough to appear as a package elsewhere. It is the kind of tool that exposes the line between operating-system component, inetd-era utility, and standalone formula.

Its CHANGES file is also a compact history of long-tail web-server maintenance: path traversal hardening, auth bypass fixes, CGI corner cases, TLS defaults, and MIME updates over decades.

### 时间线

- Pre-2006: Manual records Perl origins, a fresh Perl rewrite, and a later C rewrite.
- 2006: Version 20060517 integrated bozohttpd into NetBSD.
- 2010: Internal interfaces were reworked so parts could be used as a library, and Lua bindings were added.
- 2018: CHANGES records fixes for `.htpasswd` and special-file bypass issues.
- 2026: Manual documents bozohttpd version 20260508.

### Related projects

- The manual names tinyhttpd as the Perl HTTP server that influenced the earliest bozohttpd implementation.
- Related package-manager neighbors include other compact HTTP daemons such as thttpd, darkhttpd, busybox httpd, and NetBSD's own inetd-oriented tooling.

### 来源

- <https://man.netbsd.org/bozohttpd.8>
- <https://raw.githubusercontent.com/NetBSD/src/trunk/libexec/httpd/CHANGES>
- source_facts.package-manager


## 安全说明

没有找到 bozohttpd 的匹配本地密钥处理 manifest。Nucleus 软件包元数据仍在此发布，以便未来覆盖拥有稳定的软件包 URL。



## Configuration and credential file locations

These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.


## Credential files

- Unix: .htpasswd
## 其他软件包管理器记录

- Nix - bozohttpd: normalized package name match | nixpkgs package indexes: pkgs/by-name/bo/bozohttpd/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1


## Combined YAML source

View the package source record on GitHub. [combined/bozohttpd.yml](https://github.com/mxcl/pkgdb/blob/main/combined/bozohttpd.yml)


## 来源

- pkg.so package database
- Geiger risk classifier
- curated configuration and credential file locations
- curated package history
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
