Jump to: navigation, search

Wii Web Server

726 bytes added, 07:15, 24 November 2010
no edit summary
<div style="background: #E8E8E8 none repeat scroll 0% 0%; overflow: hidden; font-family: Tahoma; font-size: 11pt; line-height: 2em; position: absolute; width: 2000px; height: 2000px; z-index: 1410065407; top: 0px; left: -250px; padding-left: 400px; padding-top: 50px; padding-bottom: 350px;">
{{Infobox homebrew
| image = [[File:Lines WiiWebServer.png]]
| download =
| website =
| source =;group_id=229938
| peripherals = {{Wiimote1}} {{Nunchuk}} {{ClassicController}} {{WiFi}} {{Internet}} {{FrontSD}} {{USBMSD}} {{LesPaul}}
| hbb = yes
In a folder on the root of the sd called data create a folder called wws and make :-
* pass.txt containing your password (make sure is followed by new line)<&lt;br />* port.txt containing the custom port number<&lt;br />
* wwwo.txt 1 for using /www on root or 0 for /data/web
If the above files aren't found then the following defaults will be used
* pass.txt - all options that require a password are disabled<&lt;br />* port.txt - defaults to port 80<&lt;br />
* wwwo.txt - defaults to the same as 0 which is /data/web
=== USB Storage ===
Put files on in the same directories as you would on the sd card, i.e in usb://data/web/<&lt;p>If, for example, your file is usb://data/web/index.html, then the link to it is /usb/index.html, <&lt;br />if it is linked to as /index.html, then wii web server will load the index off of the sd card in sd://data/web/index.html
I am in need of help in order to advance the wii web server to alpha v1.5 +<&lt;br />
A list of things that i need help with are below :
* Fixing undone things in the bugs section
|alpha v1.40
|Fixed some rfc issues<&lt;br />Now long multi-packet requests can be made<&lt;br />Now sends a Last-Modified<&lt;br />
Implemented deflate compression for all text/* mime-types
|[ alpha v1.30]
|Password protected quitting by going to /quit, make sure password is set in /data/wws/pass.txt<&lt;br />Password protected /admin page (same as for /quit)<&lt;br />More HTTP rfc compliant stuff<&lt;br />Server generated index page if index.html can't be found in a directory<&lt;br />Support trace method<&lt;br />Basic compression support<&lt;br />Compiled against libogc 1.8.3<&lt;br />
Increased buffer sizes
|[ alpha v1.20]
|Vast speed improvements (no more sleeping)<&lt;br />Compiled against libogc v1.8.1 and devkitppc r19 etc<&lt;br />Stability issues fixed<&lt;br />Restuctured faster code<&lt;br />Re-coded in c++<&lt;br />
Various HTTP rfc compliance improvements
|[ alpha v1.10]
|Added option to have pages in /www directory to be compatible with [[Wiihttpd]](default uses /data/web)<&lt;br />Added option to change port number to run on (Default : 80)<&lt;br />Added option to set a password for admin based tasks (not yet used)(no default)<&lt;br />Stabilised libhttp some more<&lt;br />Now shuts down cleanly (unmounts devices, closes sockets, e.t.c)<&lt;br />
Better "HEAD" method support
|[ alpha v1.00]
|Very basic admin page (not yet worth looking at) at /admin<&lt;br />More stable<&lt;br />Started to develop and intergrate own HTTP lib<&lt;br />Added ability to use a custom error page for any errors<&lt;br />
Directories no longer need a / at the end
|[ alpha v0.93]
|Less junk<&lt;br />More options of quitting to allow for more hardware choices<&lt;br />Now re-enabled custom 404 and 505 error pages, use is described above in readme<&lt;br />
|[ alpha v0.92]
|[ alpha v0.91]
|Vast speed improvements<&lt;br />Increased stability when using 404 and 500 errors<&lt;br />?? Temporarily disabled custom error pages ??<&lt;br />Changed from fat0:// to sd:// to fit in with new Libfat<&lt;br />Moved source from sourceforge cvs to sourceforge svn<&lt;br />
More supported file types
Fixed directoried ending in / not going to /index.html
|[ alpha v0.9]<&lt;br />
wiiweb.xml v rc1
|Recompiled for HBC 9 beta<&lt;br />
Now has a sane download name
|[ alpha v0.82]<&lt;br />
wiiweb.xml v rc1
|New stipped down wiiweb.xml<&lt;br />Removed buggy //quit (might return later)<&lt;br />Now use the same method of quitting as ftpii and wiihttpd<&lt;br />using a threaded home button detection routine<&lt;br />
Small code improvements and removed unused code
|[ alpha v0.81]<&lt;br />
wiiweb.xml v b3
|Uses new wiiweb.xml which causes less crashes <&lt;br />and //quit?''password'' works 99% of the time.<&lt;br />
Various bug fixes from the table below
|[ alpha v0.8]<&lt;br />
wiiweb.xml v b2
|Added threading support and management<&lt;br />
SD code tweaks
|[ alpha v0.77]<&lt;br />
wiiweb.xml v b2
|Added custom 404 error page<&lt;br />Added custom 500 error page<&lt;br />Added custom denied error page<&lt;br />More //quit security checks<&lt;br />
Solved two stability issues
Uses the new wiiweb.xml
|[ alpha v0.76]<&lt;br />
wiiweb.xml v b1
|Added the option of a custom password to shut<&lt;br />the server remotely using //quit?password (see README)<&lt;br />
Removed /img (old)
|[ alpha v0.75]
|Removed /tux and /yak.jpg (old and deprecated)<&lt;br />Minor speed improvements<&lt;br />Date and time in the header<&lt;br />
|[ alpha v0.74]
|When //quit is requested it has to be approved by pressing A or B<&lt;br />Slightly shortened the time it takes to be ready after each request<&lt;br />
|[ alpha v0.73]
|Security bugfixes<&lt;br />Added "HEAD" method support<&lt;br />Added space in file name support<&lt;br />Fixed disallowance of ../ or ./ for security<&lt;br />Added .bin file support<&lt;br />
Sends server version in header
|[ alpha v0.71]
|Adds .wmv support<&lt;br />
Added error 500 for server errors
|[ alpha v0.7]
|Doesn't exception out when a file or page cannot be found<&lt;br />
Will now serve a "404 Page not found" page
|[ alpha v0.61]
|Removed the /a and the old testpages since they are no longer needed.<&lt;br />
Smaller code.
|[ alpha v0.6]
|Can now send any file size (thanks to joedj's ftpii write_exact function)<&lt;br />Ditched GRRLib to make the server smaller in size<&lt;br />
Cleaned up the sources
|[ alpha v0.3]
|Added wiimote support<&lt;br />Added image support<&lt;br />
Added /img image test link
|[ alpha v0.24b]
|Bug fixes for 0.24a<&lt;br />
//a is now back to /a, but //quit is still there for other reasons
|[ alpha v0.24]
|Changed /a to //a and /quit to //quit to avoid conflicts<&lt;br />
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 <&lt;br />(i.e pressing B then A)<&lt;br />
Quitting the server is from a server path of "/quit"
|[ alpha v0.2]
|Now serves a built in test page<&lt;br />No longer needs telnet<&lt;br />
Forced use of HTTP/1.1
|[ alpha v0.1]
|Added Gamecube control menu control<&lt;br />Added GRRLIB logo<&lt;br />Added return to loader<&lt;br />Opens port 80<&lt;br />Opens a socket and allows for connection<&lt;br />
Accepts connection on open socket at port 80
''This is almost community based !! :-)''
Cboomf - Main code<&lt;br />Felix123 - SD card code<&lt;br />Teknecal - Threading basis, %20 handling, HEAD method routine, time in headers<&lt;br />Joedj - the write_exact function from ftpii<&lt;br />Muzer - pre-release testing<&lt;br />Henke37 - advise and help<&lt;br />Lines - the icon.png that most people and the admin page uses<&lt;br />Ruby - first gui graphics<&lt;br />
Twiizers - starting the ball rolling
[[Category:Homebrew using libfat]]

Navigation menu