Wiihttpd

From GameBrew
Revision as of 07:12, 20 January 2023 by HydeWing (talk | contribs)
Wiihttpd
File:Wiihttpdwii.jpg
General
Authorteknecal
TypeUtilities
Version0.0.2
LicenseNew BSD
Last Updated2008/06/24
Links
Download
Website
Source

Wiihttpd is an open-source, multi-threaded HTTP web server designed for the Wii console. It is based on the ftpii source code, allowing for a simple and easy to use web server experience on the Wii.

Wiihttpd supports standard web server functionalities such as handling GET and POST requests, and can serve static content, such as HTML, CSS, and JavaScript files. It is a lightweight and easy to use solution for hosting a website on your Wii console.

Features

  • Basic HTTP/1.0 and HTTP/1.1 support
  • Dynamic HTTP headers
  • Able to serve any file type you like (you can add more file types in common.h)
  • Able to use spaces and dots in file names
  • View server uptime, pages/files served and not found by going to /stats

Usage

Create a /www directory on the root of your SD card and place any files you would like to be served in there.

Run the included ELF with your favourite method to boot homebrew.

Screenshot

File:Wiihttpdwii.jpg

Changelog

24 June 2008 (v0.0.2)

  • Removed configurable GMT text setting in HTTP header and instead allowed timezone change
  • Added Connection: close to HTTP/1.1 header
  • Added more mime types
  • Added HTTP HEAD method
  • Protection against ./ and ../ in HTTP path by displaying a 404 page

21 June 2008 (v0.0.1)

  • Initial Release

Credits

  • Joe Jordan <[email protected]>
  • Used your ftpii source to code from Cboomf + Felix123
  • Used your Wii Webserver source for mime types list/struct/for loop

Notes

  • Source code is included :)
  • Wiihttpd was written in C using devkitPPC r15 and libogc (CVS 20080618) with libfat.

External links

Advertising: