Wii Web Server
A simple web-server for the Wii.
Still is very early stages of development and at present can only display a built in test page.
Dev time : 46 Hours
File:Wiiwebserver.zip - ZIP containing the meta.xml for alpha v0.73 and an icon.png
Boot using normal methods *cough* HBC *cough*.
Once running, will run itself.
To quit, type "//quit" at the end of the web-address, so - "192.168.0.X//quit", will now return to HBC.
NOTE : In version alpha v0.74 onwards, the //quit now requires you to press A on the wiimote to allow
This stops any random user from shutting down the server.
Place your html files in /data/web/ on the root of your sd card, must be inserted before the app is loaded. Use data.zip for demo files.
There is no directory listing and your homepage must be called "index.html"
|alpha v0.75 not yet released||Removed /tux and /yak.jpg (old and deprecated)|
Minor speed improvements
|alpha v0.74||When //quit is requested it has to be approved by pressing A or B|
Slightly shortened the time it takes to be ready after each request
|alpha v0.73||Security bugfixes|
Added "HEAD" method support
|alpha v0.71||Adds .wmv support|
Added error 500 for server errors
|alpha v0.7||Doesn't exception out when a file or page cannot be found|
Will now serve a "404 Page not found" page
|alpha v0.62||Fixed the infinite recursion|
|alpha v0.61||Removed the /a and the old testpages since they are no longer needed.|
|alpha v0.6||Can now send any file size (thanks to joedj's ftpii write_exact function)|
Ditched GRRLib to make the server smaller in size
|alpha v0.5||Can now load any file type (those listed below) from FrontSD|
|alpha v0.4||Front SD html only, loading support XD (finally !!)|
|alpha v0.31||Favicon added|
|alpha v0.3||Added wiimote support|
Added image support
|alpha v0.24b||Bug fixes for 0.24a|
//a is now back to /a, but //quit is still there for other reasons
|alpha v0.24a||Fixed the main page hyperlink to //a|
|alpha v0.24||Changed /a to //a and /quit to //quit to avoid conflicts|
Request parser rewritten, now quicker and more streamlined
|alpha v0.23||Now doesn't have to restart the server to serve more than one page |
(i.e pressing B then A)
Quitting the server is from a server path of "/quit"
|alpha v0.22||Handles links|
|alpha v0.21||Now detects the HTTP/1.x version as requested by the browser|
|alpha v0.2||Now serves a built in test page|
No longer needs telnet
|alpha v0.11||Serves html to telnet (lack of http headers)
Can accept multiple connections (not at once)
|alpha v0.1||Added Gamecube control menu control|
Added GRRLIB logo
Please post new bugs on the talk page instead of here :-)
For anymore bugs, they should only be posted if :-
- They are security related
- They affect usage
|Directory traversal vulnerabilities allows people to
sneak out of the web root. Ops, now people can "borrow"
|Done||Now blocks all ./ and ../ in path names||High|
|Fixing of folders to index.html is hardcoded and not
heuristic and will fail for sub-directories.
|500 pages uses 404 lengths||Done||Changed _404_html_size to _500_html_size||Medium|
|Indention issues, try just writing it like "else if"
and don't add any extra indention, it keeps the indention
|Done||Changed to else if||Low|
|Directories without an ending / is not redirected to
the same url, but with a slash
|Request specific info is stored in globals
(not safe for multi threading in the future)
|Exact server version is not in the http reply headers||Done||Made the server version a variable and attatched it||Low|
|Connections is not timed out if the client doesn't
make any requests
|Date header is hardcoded to the past.||Done||Added time.h and worked out the date||Low|
The following file types have proper mime types associated with them.
"Lump of fun"
Everynow and then, a special release of the wii web server will be released that contains a hidden "lump of fun". Result can be posted on the talk page under "Lump of fun". Who will be the first to screendump it, evidence must be a full screendump or it will be discounted.
The first - "find the sucking lump of fun"