Difference between revisions of "Wii Web Server"

From WiiBrew
Jump to: navigation, search
(Changelog: Table)
Line 35: Line 35:
  
 
== Changelog ==
 
== Changelog ==
[http://downloads.sourceforge.net/wiiwebserver/hl2072.elf?use_mirror=osdn alpha v0.72]
 
* Bugfixes
 
  
[http://downloads.sourceforge.net/wiiwebserver/hl2071.elf?use_mirror=osdn alpha v0.71]
+
{| class="changelog" style="margin: 1em auto 1em auto" border="1"
* Adds .wmv support
+
! Version || Changes
* Added error 500 for server errors
+
|-
 
+
|[http://downloads.sourceforge.net/wiiwebserver/hl2072.elf?use_mirror=osdn alpha v0.72]
[http://downloads.sourceforge.net/wiiwebserver/hl207.elf?use_mirror=osdn alpha v0.7]
+
|Bugfixes
* Doesn't exception out when a file or page cannot be found
+
|-
* Will now serve a "404 Page not found" page
+
|[http://downloads.sourceforge.net/wiiwebserver/hl2071.elf?use_mirror=osdn alpha v0.71]
 
+
|Adds .wmv support<br>
[http://downloads.sourceforge.net/wiiwebserver/hl2062.elf?use_mirror=osdn alpha v0.62]
+
Added error 500 for server errors
* Fixed the infinite recursion
+
|-
 
+
|[http://downloads.sourceforge.net/wiiwebserver/hl207.elf?use_mirror=osdn alpha v0.7]
[http://downloads.sourceforge.net/wiiwebserver/hl2061.elf?use_mirror=osdn alpha v0.61]
+
|Doesn't exception out when a file or page cannot be found<br>
* Removed the /a and the old testpages since they are no longer needed.
+
Will now serve a "404 Page not found" page
* Smaller code.
+
|-
 
+
|[http://downloads.sourceforge.net/wiiwebserver/hl2062.elf?use_mirror=osdn alpha v0.62]
[http://downloads.sourceforge.net/wiiwebserver/hl206.elf?use_mirror=osdn alpha v0.6]
+
|Fixed the infinite recursion
* Can now send any file size (thanks to joedj's ftpii write_exact function)
+
|-
* Ditched GRRLib to make the server smaller in size
+
|[http://downloads.sourceforge.net/wiiwebserver/hl2061.elf?use_mirror=osdn alpha v0.61]
* Cleaned up the sources
+
|Removed the /a and the old testpages since they are no longer needed.<br>
 
+
Smaller code.
[http://downloads.sourceforge.net/wiiwebserver/hl205.elf?use_mirror=osdn alpha v0.5]
+
|-
* Can now load any file type (those listed below) from FrontSD
+
|[http://downloads.sourceforge.net/wiiwebserver/hl206.elf?use_mirror=osdn alpha v0.6]
 
+
|Can now send any file size (thanks to joedj's ftpii write_exact function)<br>
[http://downloads.sourceforge.net/wiiwebserver/hl204.elf?use_mirror=osdn alpha v0.4]
+
Ditched GRRLib to make the server smaller in size<br>
* Front SD html only, loading support XD (finally !!)
+
Cleaned up the sources
 
+
|-
[http://downloads.sourceforge.net/wiiwebserver/hl2031.elf?use_mirror=osdn alpha v0.31]
+
|[http://downloads.sourceforge.net/wiiwebserver/hl205.elf?use_mirror=osdn alpha v0.5]
* Favicon added
+
|Can now load any file type (those listed below) from FrontSD
 
+
|-
[http://downloads.sourceforge.net/wiiwebserver/hl203.elf?use_mirror=osdn alpha v0.3]
+
|[http://downloads.sourceforge.net/wiiwebserver/hl204.elf?use_mirror=osdn alpha v0.4]
* Added wiimote support
+
|Front SD html only, loading support XD (finally !!)
* Added image support
+
|-
* Added /img image test link
+
|[http://downloads.sourceforge.net/wiiwebserver/hl2031.elf?use_mirror=osdn alpha v0.31]
 
+
|Favicon added
alpha v0.24b
+
|-
* Bug fixes for 0.24a
+
|[http://downloads.sourceforge.net/wiiwebserver/hl203.elf?use_mirror=osdn alpha v0.3]
* //a is now back to /a, but //quit is still there for other reasons
+
|Added wiimote support<br>
 
+
Added image support<br>
alpha v0.24a
+
Added /img image test link
* Fixed the main page hyperlink to //a
+
|-
 
+
|[http://downloads.sourceforge.net/wiiwebserver/hl2024b.elf?use_mirror=osdn alpha v0.24b]
alpha v0.24
+
|Bug fixes for 0.24a<br>
* Changed /a to //a and /quit to //quit to avoid conflicts
+
//a is now back to /a, but //quit is still there for other reasons
* Request parser rewritten, now quicker and more streamlined
+
|-
 
+
|[http://downloads.sourceforge.net/wiiwebserver/hl2024a.elf?use_mirror=osdn alpha v0.24a]
alpha v0.23
+
|Fixed the main page hyperlink to //a
* Now doesn't have to restart the server to serve more than one page (i.e presseing B then A)
+
|-
* Quitting the server is from a server path of "/quit"
+
|[http://downloads.sourceforge.net/wiiwebserver/hl2024.elf?use_mirror=osdn alpha v0.24]
 
+
|Changed /a to //a and /quit to //quit to avoid conflicts<br>
alpha v0.22
+
Request parser rewritten, now quicker and more streamlined
* Handles links
+
|-
 
+
|[http://downloads.sourceforge.net/wiiwebserver/hl2023.elf?use_mirror=osdn alpha v0.23]
alpha v0.21
+
|Now doesn't have to restart the server to serve more than one page (i.e presseing B then A)<br>
* Now detects the HTTP/1.x version as requested by the browser
+
Quitting the server is from a server path of "/quit"
 
+
|-
alpha v0.2 - First fully web-page serving release
+
|[http://downloads.sourceforge.net/wiiwebserver/hl2022.elf?use_mirror=osdn alpha v0.22]
* Now serves a built in test page
+
|Handles links
* No longer needs telnet
+
|-
* Forced use of HTTP/1.1
+
|[http://downloads.sourceforge.net/wiiwebserver/hl2021.elf?use_mirror=osdn alpha v0.21]
 
+
|Now detects the HTTP/1.x version as requested by the browser
alpha v0.11
+
|-
* Serves html to telnet (don't know why)
+
|[http://downloads.sourceforge.net/wiiwebserver/hl202.elf?use_mirror=osdn alpha v0.2]
* Can accept multiple connections (not at once)
+
|Now serves a built in test page<br>
 
+
No longer needs telnet<br>
alpha v0.1
+
Forced use of HTTP/1.1
* Added Gamecube control menu control
+
|-
* Added GRRLIB logo
+
|[http://downloads.sourceforge.net/wiiwebserver/hl2011.elf?use_mirror=osdn alpha v0.11]
* Added return to loader
+
|Serves html to telnet (lack of http headers)
* Opens port 80
+
Can accept multiple connections (not at once)
* Opens a socket and allows for connection
+
|-
* Accepts connection on open socket at port 80
+
|[http://downloads.sourceforge.net/wiiwebserver/hl2.elf?use_mirror=osdn alpha v0.1]
 +
|Added Gamecube control menu control<br>
 +
Added GRRLIB logo<br>
 +
Added return to loader<br>
 +
Opens port 80<br>
 +
Opens a socket and allows for connection<br>
 +
Accepts connection on open socket at port 80
 +
|}
  
 
== Bug fixing ==
 
== Bug fixing ==

Revision as of 22:27, 30 June 2008

Template:Infobox homebrewapp

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 : 31 Hours

HBC

WiiWeb.pngTwilt

Icon WebServer.pngVibestar

Lines WiiWebServer.pngLines

meta.xml Example

README

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

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"

Changelog

Version Changes
alpha v0.72 Bugfixes
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.

Smaller code.

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
Cleaned up the sources

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
Added /img image test link

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 presseing 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
Forced use of HTTP/1.1

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
Added return to loader
Opens port 80
Opens a socket and allows for connection
Accepts connection on open socket at port 80

Bug fixing

Please post new bugs on the talk page instead of here :-)

Bug Status Priority
Directory traversal vulnerabilities allows people to

sneak out of the web root. Ops, now people can "borrow"
all those "borrowed" games you also happen to have on the
sd-card.

Waiting High
Fixing of folders to index.html is hardcoded and not

heuristic and will fail for sub-directories.

Waiting Low
500 pages uses 404 lenghts Done Medium
Indention issues, try just writing it like "else if"

and don't add any extra indention, it keeps the indention
level sane when having a lot of conditions.

Done Low

File types

The following file types can be loaded from Front SD

html htm txt css ico gif
jpg jpeg png svg torrent wav
wav mp3 mid m3u ram ra
doc exe zip xls tgz tar
tar gz arj rar rtf pdf
swf mpg mpeg asf avi bmp
wmv

"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"

alpha v0.3a