Wednesday, January 13, 2010

SiteHoster [Host a Server for HTML-based WebSite]

SiteHoster [Host a Server for HTML-based WebSite]


link: http://sourceforge.net/projects/sitehoster/


ABK SiteHoster is aLEHNS (a Lightweight Extensible HTTP Network Server). Developed in pure Java. Currently supports HTTP 0.9, easily delivering normal HTML oriented WebSites. Aiming to be a full-fledged WebSite Server with all Web Services




PreRequirement:
Install Java Virtual Machine on your Computer System.

Syntax :
[] Starting HTTP Server hosting web files in folder with as default file to open when root of IP accessed (it opens at Port 80 by default)
"java -jar http09_v0.5a.jar C:\WebDoc\ index.htm"


[] Starting HTTP Server hosting web files in folder with as default file to open when root of IP accessed; and 1234 is Port to be opened at (so access like http://IP:1234/index.htm)
"java -jar http09_v0.5a.jar C:\WebDoc\ index.htm 1234"


NOTE:
to make it work in Linux, download Source Code, extract it and in /SRC/MACRO/appMACRO.java file
change to   and recompile the app

No comments: