Changes

167 bytes added ,  18:25, 10 August 2009
m
Robot: Cosmetic changes
Line 1: Line 1:  
{{Infobox homebrew
 
{{Infobox homebrew
| image      = [[Image:Lines WiiWebServer.png]]
+
| image      = [[File:Lines WiiWebServer.png]]
 
| title      = Wii Web Server
 
| title      = Wii Web Server
 
| type        = utility
 
| type        = utility
Line 20: Line 20:  
! Icon || Designer
 
! Icon || Designer
 
|-
 
|-
|[[Image:WiiWeb.png]]
+
|[[File:WiiWeb.png]]
|[[user:Seandgibbonsy|Twilt]]
+
|[[User:Seandgibbonsy|Twilt]]
 
|-
 
|-
|[[Image:Icon_WebServer.png]]
+
|[[File:Icon_WebServer.png]]
 
|Vibestar
 
|Vibestar
 
|-
 
|-
|[[Image:Lines_WiiWebServer.png]]
+
|[[File:Lines_WiiWebServer.png]]
 
|Lines
 
|Lines
 
|}
 
|}
Line 32: Line 32:  
[http://pastebin.ch/281 meta.xml Example]
 
[http://pastebin.ch/281 meta.xml Example]
   −
[[Image:Wiiwebserver.zip]] - ZIP containing the meta.xml for alpha v0.73 and an icon.png
+
[[File:Wiiwebserver.zip]] - ZIP containing the meta.xml for alpha v0.73 and an icon.png
    
== README ==
 
== README ==
Line 41: Line 41:  
=== Quitting ===
 
=== Quitting ===
   −
To quit, press home on wiimote 1.<br>
+
To quit, press home on wiimote 1.<br />
press yellow fret on quitar.<br>
+
press yellow fret on quitar.<br />
press c on nunchuk connected to wiimote 1.<br>
+
press c on nunchuk connected to wiimote 1.<br />
press home on classic controller.<br>
+
press home on classic controller.<br />
press A on wiimote 1.<br>
+
press A on wiimote 1.<br />
    
=== settings for version alpha v1.10 + ===
 
=== settings for version alpha v1.10 + ===
Line 51: Line 51:  
In a folder on the root of the sd called data create a folder called wws and make :-
 
In a folder on the root of the sd called data create a folder called wws and make :-
   −
* pass.txt containing your password<br>
+
* pass.txt containing your password<br />
* port.txt containing the custom port number<br>
+
* port.txt containing the custom port number<br />
 
* wwwo.txt 1 for using /www on root or 0 for /data/web
 
* 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
 
If the above files aren't found then the following defaults will be used
   −
* pass.txt - all options that require a password are disabled<br>
+
* pass.txt - all options that require a password are disabled<br />
* port.txt - defaults to port 80<br>
+
* port.txt - defaults to port 80<br />
 
* wwwo.txt - defaults to the same as 0 which is /data/web
 
* wwwo.txt - defaults to the same as 0 which is /data/web
   Line 72: Line 72:     
Put files on in the same directories as you would on the sd card, i.e in usb://data/web/<p>
 
Put files on in the same directories as you would on the sd card, i.e in usb://data/web/<p>
If, for example, your file is usb://data/web/index.html, then the link to it is /usb/index.html, <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
+
If, for example, your file is usb://data/web/index.html, then the link to it is /usb/index.html, <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
    
== HELP WANTED ==
 
== HELP WANTED ==
   −
I am in need of help in order to advance the wii web server to alpha v1.5 +<br>
+
I am in need of help in order to advance the wii web server to alpha v1.5 +<br />
 
A list of things that i need help with are below :
 
A list of things that i need help with are below :
 
* Fixing undone things in the bugs section
 
* Fixing undone things in the bugs section
Line 84: Line 84:  
=== How to submit ===
 
=== How to submit ===
   −
Because i use windblows, i am unable to use .patch files, so instead, a source file like below should be sent to me at the address listed in the bugs section, or by posting it here. '''It MUST be in C'''<br>
+
Because i use windblows, i am unable to use .patch files, so instead, a source file like below should be sent to me at the address listed in the bugs section, or by posting it here. '''It MUST be in C'''<br />
 
<source lang="c">
 
<source lang="c">
 
/**  
 
/**  
Line 119: Line 119:  
|-
 
|-
 
|[http://master.dl.sourceforge.net/sourceforge/wiiwebserver/wiiwebserveralpha11.dol alpha v1.10]
 
|[http://master.dl.sourceforge.net/sourceforge/wiiwebserver/wiiwebserveralpha11.dol alpha v1.10]
|Added option to have pages in /www directory to be compatible with [[Wiihttpd]](default uses /data/web)<br>
+
|Added option to have pages in /www directory to be compatible with [[Wiihttpd]](default uses /data/web)<br />
Added option to change port number to run on (Default : 80)<br>
+
Added option to change port number to run on (Default : 80)<br />
Added option to set a password for admin based tasks (not yet used)(no default)<br>
+
Added option to set a password for admin based tasks (not yet used)(no default)<br />
Stabilised libhttp some more<br>
+
Stabilised libhttp some more<br />
Now shuts down cleanly (unmounts devices, closes sockets, e.t.c)<br>
+
Now shuts down cleanly (unmounts devices, closes sockets, e.t.c)<br />
 
Better "HEAD" method support
 
Better "HEAD" method support
 
|-
 
|-
 
|[http://master.dl.sourceforge.net/sourceforge/wiiwebserver/wiiwebserveralpha1.dol alpha v1.00]
 
|[http://master.dl.sourceforge.net/sourceforge/wiiwebserver/wiiwebserveralpha1.dol alpha v1.00]
|Very basic admin page (not yet worth looking at) at /admin<br>
+
|Very basic admin page (not yet worth looking at) at /admin<br />
More stable<br>
+
More stable<br />
Started to develop and intergrate [[User:Cboomf/LibHTTP]]<br>
+
Started to develop and intergrate [[User:Cboomf/LibHTTP]]<br />
Added ability to use a custom error page for any errors<br>
+
Added ability to use a custom error page for any errors<br />
 
Directories no longer need a / at the end
 
Directories no longer need a / at the end
 
|-
 
|-
 
|[http://downloads.sourceforge.net/wiiwebserver/wiiwebserver093.dol?use_mirror=osdn alpha v0.93]
 
|[http://downloads.sourceforge.net/wiiwebserver/wiiwebserver093.dol?use_mirror=osdn alpha v0.93]
|Less junk<br>
+
|Less junk<br />
More options of quitting to allow for more hardware choices<br>
+
More options of quitting to allow for more hardware choices<br />
Now re-enabled custom 404 and 505 error pages, use is described above in readme<br>
+
Now re-enabled custom 404 and 505 error pages, use is described above in readme<br />
 
|-
 
|-
 
|[http://downloads.sourceforge.net/wiiwebserver/wiiwebserver092.dol?use_mirror=kent alpha v0.92]
 
|[http://downloads.sourceforge.net/wiiwebserver/wiiwebserver092.dol?use_mirror=kent alpha v0.92]
Line 142: Line 142:  
|-
 
|-
 
|[http://downloads.sourceforge.net/wiiwebserver/wiiwebserver091.dol?use_mirror=kent alpha v0.91]
 
|[http://downloads.sourceforge.net/wiiwebserver/wiiwebserver091.dol?use_mirror=kent alpha v0.91]
|Vast speed improvements<br>
+
|Vast speed improvements<br />
Increased stability when using 404 and 500 errors<br>
+
Increased stability when using 404 and 500 errors<br />
?? Temporarily disabled custom error pages ??<br>
+
?? Temporarily disabled custom error pages ??<br />
Changed from fat0:// to sd:// to fit in with new Libfat<br>
+
Changed from fat0:// to sd:// to fit in with new Libfat<br />
Moved source from sourceforge cvs to sourceforge svn<br>
+
Moved source from sourceforge cvs to sourceforge svn<br />
 
More supported file types
 
More supported file types
 
Fixed directoried ending in / not going to /index.html
 
Fixed directoried ending in / not going to /index.html
 
|-
 
|-
|[http://downloads.sourceforge.net/wiiwebserver/wiiwebserver09.dol?use_mirror=kent alpha v0.9]<br>
+
|[http://downloads.sourceforge.net/wiiwebserver/wiiwebserver09.dol?use_mirror=kent alpha v0.9]<br />
 
[http://downloads.sourceforge.net/wiiwebserver/wiiwebr1.xml?use_mirror=osdn wiiweb.xml v rc1]
 
[http://downloads.sourceforge.net/wiiwebserver/wiiwebr1.xml?use_mirror=osdn wiiweb.xml v rc1]
|Recompiled for HBC 9 beta<br>
+
|Recompiled for HBC 9 beta<br />
 
Now has a sane download name
 
Now has a sane download name
 
|-
 
|-
|[http://downloads.sourceforge.net/wiiwebserver/hl2082.elf?use_mirror=osdn alpha v0.82]<br>
+
|[http://downloads.sourceforge.net/wiiwebserver/hl2082.elf?use_mirror=osdn alpha v0.82]<br />
 
[http://downloads.sourceforge.net/wiiwebserver/wiiwebr1.xml?use_mirror=osdn wiiweb.xml v rc1]
 
[http://downloads.sourceforge.net/wiiwebserver/wiiwebr1.xml?use_mirror=osdn wiiweb.xml v rc1]
|New stipped down wiiweb.xml<br>
+
|New stipped down wiiweb.xml<br />
Removed buggy //quit (might return later)<br>
+
Removed buggy //quit (might return later)<br />
Now use the same method of quitting as ftpii and wiihttpd<br>
+
Now use the same method of quitting as ftpii and wiihttpd<br />
using a threaded home button detection routine<br>
+
using a threaded home button detection routine<br />
 
Small code improvements and removed unused code
 
Small code improvements and removed unused code
 
|-
 
|-
|[http://downloads.sourceforge.net/wiiwebserver/hl2081.elf?use_mirror=osdn alpha v0.81]<br>
+
|[http://downloads.sourceforge.net/wiiwebserver/hl2081.elf?use_mirror=osdn alpha v0.81]<br />
 
[http://downloads.sourceforge.net/wiiwebserver/wiiwebb3.xml?use_mirror=osdn wiiweb.xml v b3]
 
[http://downloads.sourceforge.net/wiiwebserver/wiiwebb3.xml?use_mirror=osdn wiiweb.xml v b3]
|Uses new wiiweb.xml which causes less crashes <br>
+
|Uses new wiiweb.xml which causes less crashes <br />
and //quit?''password'' works 99% of the time.<br>
+
and //quit?''password'' works 99% of the time.<br />
 
Various bug fixes from the table below
 
Various bug fixes from the table below
 
|-
 
|-
|[http://downloads.sourceforge.net/wiiwebserver/hl208.elf?use_mirror=osdn alpha v0.8]<br>
+
|[http://downloads.sourceforge.net/wiiwebserver/hl208.elf?use_mirror=osdn alpha v0.8]<br />
 
[http://downloads.sourceforge.net/wiiwebserver/wiiwebb2.xml?use_mirror=osdn wiiweb.xml v b2]
 
[http://downloads.sourceforge.net/wiiwebserver/wiiwebb2.xml?use_mirror=osdn wiiweb.xml v b2]
|Added threading support and management<br>
+
|Added threading support and management<br />
 
SD code tweaks
 
SD code tweaks
 
|-
 
|-
|[http://downloads.sourceforge.net/wiiwebserver/hl2077.elf?use_mirror=osdn alpha v0.77]<br>
+
|[http://downloads.sourceforge.net/wiiwebserver/hl2077.elf?use_mirror=osdn alpha v0.77]<br />
 
[http://downloads.sourceforge.net/wiiwebserver/wiiwebb2.xml?use_mirror=osdn wiiweb.xml v b2]
 
[http://downloads.sourceforge.net/wiiwebserver/wiiwebb2.xml?use_mirror=osdn wiiweb.xml v b2]
|Added custom 404 error page<br>
+
|Added custom 404 error page<br />
Added custom 500 error page<br>
+
Added custom 500 error page<br />
Added custom denied error page<br>
+
Added custom denied error page<br />
More //quit security checks<br>
+
More //quit security checks<br />
 
Solved two stability issues
 
Solved two stability issues
 
Uses the new wiiweb.xml
 
Uses the new wiiweb.xml
 
|-
 
|-
|[http://downloads.sourceforge.net/wiiwebserver/hl2076.elf?use_mirror=osdn alpha v0.76]<br>
+
|[http://downloads.sourceforge.net/wiiwebserver/hl2076.elf?use_mirror=osdn alpha v0.76]<br />
 
[http://downloads.sourceforge.net/wiiwebserver/wiiweb.xml?use_mirror=osdn wiiweb.xml v b1]
 
[http://downloads.sourceforge.net/wiiwebserver/wiiweb.xml?use_mirror=osdn wiiweb.xml v b1]
|Added the option of a custom password to shut<br>
+
|Added the option of a custom password to shut<br />
the server remotely using //quit?password (see README)<br>
+
the server remotely using //quit?password (see README)<br />
 
Removed /img (old)
 
Removed /img (old)
 
|-
 
|-
 
|[http://downloads.sourceforge.net/wiiwebserver/hl2075.elf?use_mirror=osdn alpha v0.75]
 
|[http://downloads.sourceforge.net/wiiwebserver/hl2075.elf?use_mirror=osdn alpha v0.75]
|Removed /tux and /yak.jpg (old and deprecated)<br>
+
|Removed /tux and /yak.jpg (old and deprecated)<br />
Minor speed improvements<br>
+
Minor speed improvements<br />
Date and time in the header<br>
+
Date and time in the header<br />
 
|-
 
|-
 
|[http://downloads.sourceforge.net/wiiwebserver/hl2074.elf?use_mirror=osdn alpha v0.74]
 
|[http://downloads.sourceforge.net/wiiwebserver/hl2074.elf?use_mirror=osdn alpha v0.74]
|When //quit is requested it has to be approved by pressing A or B<br>
+
|When //quit is requested it has to be approved by pressing A or B<br />
Slightly shortened the time it takes to be ready after each request<br>
+
Slightly shortened the time it takes to be ready after each request<br />
 
Bugfixes
 
Bugfixes
 
|-
 
|-
 
|[http://downloads.sourceforge.net/wiiwebserver/hl2073.elf?use_mirror=osdn alpha v0.73]
 
|[http://downloads.sourceforge.net/wiiwebserver/hl2073.elf?use_mirror=osdn alpha v0.73]
|Security bugfixes<br>
+
|Security bugfixes<br />
Added "HEAD" method support<br>
+
Added "HEAD" method support<br />
Added space in file name support<br>
+
Added space in file name support<br />
Fixed disallowance of ../ or ./ for security<br>
+
Fixed disallowance of ../ or ./ for security<br />
Added .bin file support<br>
+
Added .bin file support<br />
 
Sends server version in header
 
Sends server version in header
 
|-
 
|-
Line 211: Line 211:  
|-
 
|-
 
|[http://downloads.sourceforge.net/wiiwebserver/hl2071.elf?use_mirror=osdn alpha v0.71]
 
|[http://downloads.sourceforge.net/wiiwebserver/hl2071.elf?use_mirror=osdn alpha v0.71]
|Adds .wmv support<br>
+
|Adds .wmv support<br />
 
Added error 500 for server errors
 
Added error 500 for server errors
 
|-
 
|-
 
|[http://downloads.sourceforge.net/wiiwebserver/hl207.elf?use_mirror=osdn alpha v0.7]
 
|[http://downloads.sourceforge.net/wiiwebserver/hl207.elf?use_mirror=osdn alpha v0.7]
|Doesn't exception out when a file or page cannot be found<br>
+
|Doesn't exception out when a file or page cannot be found<br />
 
Will now serve a "404 Page not found" page
 
Will now serve a "404 Page not found" page
 
|-
 
|-
Line 222: Line 222:  
|-
 
|-
 
|[http://downloads.sourceforge.net/wiiwebserver/hl2061.elf?use_mirror=osdn alpha v0.61]
 
|[http://downloads.sourceforge.net/wiiwebserver/hl2061.elf?use_mirror=osdn alpha v0.61]
|Removed the /a and the old testpages since they are no longer needed.<br>
+
|Removed the /a and the old testpages since they are no longer needed.<br />
 
Smaller code.
 
Smaller code.
 
|-
 
|-
 
|[http://downloads.sourceforge.net/wiiwebserver/hl206.elf?use_mirror=osdn alpha v0.6]
 
|[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>
+
|Can now send any file size (thanks to joedj's ftpii write_exact function)<br />
Ditched GRRLib to make the server smaller in size<br>
+
Ditched GRRLib to make the server smaller in size<br />
 
Cleaned up the sources
 
Cleaned up the sources
 
|-
 
|-
Line 240: Line 240:  
|-
 
|-
 
|[http://downloads.sourceforge.net/wiiwebserver/hl203.elf?use_mirror=osdn alpha v0.3]
 
|[http://downloads.sourceforge.net/wiiwebserver/hl203.elf?use_mirror=osdn alpha v0.3]
|Added wiimote support<br>
+
|Added wiimote support<br />
Added image support<br>
+
Added image support<br />
 
Added /img image test link
 
Added /img image test link
 
|-
 
|-
 
|[http://downloads.sourceforge.net/wiiwebserver/hl2024b.elf?use_mirror=osdn alpha v0.24b]
 
|[http://downloads.sourceforge.net/wiiwebserver/hl2024b.elf?use_mirror=osdn alpha v0.24b]
|Bug fixes for 0.24a<br>
+
|Bug fixes for 0.24a<br />
 
//a is now back to /a, but //quit is still there for other reasons
 
//a is now back to /a, but //quit is still there for other reasons
 
|-
 
|-
Line 252: Line 252:  
|-
 
|-
 
|[http://downloads.sourceforge.net/wiiwebserver/hl2024.elf?use_mirror=osdn alpha v0.24]
 
|[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>
+
|Changed /a to //a and /quit to //quit to avoid conflicts<br />
 
Request parser rewritten, now quicker and more streamlined
 
Request parser rewritten, now quicker and more streamlined
 
|-
 
|-
 
|[http://downloads.sourceforge.net/wiiwebserver/hl2023.elf?use_mirror=osdn alpha v0.23]
 
|[http://downloads.sourceforge.net/wiiwebserver/hl2023.elf?use_mirror=osdn alpha v0.23]
|Now doesn't have to restart the server to serve more than one page <br>(i.e pressing B then A)<br>
+
|Now doesn't have to restart the server to serve more than one page <br />(i.e pressing B then A)<br />
 
Quitting the server is from a server path of "/quit"
 
Quitting the server is from a server path of "/quit"
 
|-
 
|-
Line 266: Line 266:  
|-
 
|-
 
|[http://downloads.sourceforge.net/wiiwebserver/hl202.elf?use_mirror=osdn alpha v0.2]
 
|[http://downloads.sourceforge.net/wiiwebserver/hl202.elf?use_mirror=osdn alpha v0.2]
|Now serves a built in test page<br>
+
|Now serves a built in test page<br />
No longer needs telnet<br>
+
No longer needs telnet<br />
 
Forced use of HTTP/1.1
 
Forced use of HTTP/1.1
 
|-
 
|-
Line 275: Line 275:  
|-
 
|-
 
|[http://downloads.sourceforge.net/wiiwebserver/hl2.elf?use_mirror=osdn alpha v0.1]
 
|[http://downloads.sourceforge.net/wiiwebserver/hl2.elf?use_mirror=osdn alpha v0.1]
|Added Gamecube control menu control<br>
+
|Added Gamecube control menu control<br />
Added GRRLIB logo<br>
+
Added GRRLIB logo<br />
Added return to loader<br>
+
Added return to loader<br />
Opens port 80<br>
+
Opens port 80<br />
Opens a socket and allows for connection<br>
+
Opens a socket and allows for connection<br />
 
Accepts connection on open socket at port 80
 
Accepts connection on open socket at port 80
 
|}
 
|}
Line 285: Line 285:  
== Bug fixing ==
 
== Bug fixing ==
   −
If anyone has an idea or a fix then a patch (not in a .patch file) could be submitted to me by any means !!!<br>
+
If anyone has an idea or a fix then a patch (not in a .patch file) could be submitted to me by any means !!!<br />
 
Preferebly @ luke.bridges@gmail.com luke dot bridges at gmail dot com
 
Preferebly @ luke.bridges@gmail.com luke dot bridges at gmail dot com
   Line 303: Line 303:  
''This is almost community based !! :-)''
 
''This is almost community based !! :-)''
   −
Cboomf - Main code<br>
+
Cboomf - Main code<br />
Felix123 - SD card code<br>
+
Felix123 - SD card code<br />
Teknecal - Threading basis, %20 handling, HEAD method routine, time in headers<br>
+
Teknecal - Threading basis, %20 handling, HEAD method routine, time in headers<br />
Joedj - the write_exact function from ftpii<br>
+
Joedj - the write_exact function from ftpii<br />
Muzer - pre-release testing<br>
+
Muzer - pre-release testing<br />
Henke37 - advise and help<br>
+
Henke37 - advise and help<br />
Lines - the icon.png that most people and the admin page uses<br>
+
Lines - the icon.png that most people and the admin page uses<br />
Ruby - first gui graphics<br>
+
Ruby - first gui graphics<br />
    
Twiizers - starting the ball rolling
 
Twiizers - starting the ball rolling
    
[[Category:Homebrew using libfat]]
 
[[Category:Homebrew using libfat]]
1,189

edits