windowsで軽量httpd
XAMPP系は結構ファイルサイズが大きいので、より設置が簡単なものを探した。
nginx.exeとmongoose.exeが有力候補。
ハイパフォーマンスサーバーとして知られているが、軽量サーバーでもある。ファイルサイズ1.5Mくらい。フロントエンドにはNginxTrayを使う。ディレクトリインデックスが欲しいのでnginx.conf で autoindex を設定する。
location / { root html; index index.html index.htm; autoindex on; }
mongoose.exeを実行すると"M"印のタスクトレイアイコンから操作できる。
mongoose.confの設定
listening_ports 80 document_root doc enable_directory_listing yes access_log_file access_log.txt error_log_file error_log.txt #enable_keep_alive yes