AnyOSWeb
AnyOSWeb is a web server software using HTTP/1.1 and servlets.
The program is freeware.
Version: build 20050923
Requirements: Java 1.4 standard edition
Start command:
java -jar anyosweb.jar [-gui | -monitor]
What's new?
Build 20050923 released. Changes:
- Code for monitoring has been separated from the core.
AnyOSWeb can now run in monitored mode or in performance mode.
- Introduced custom access log format.
The new access log filter can log so much more than the old logger.
Log format is very customizable.
- Introduced correct handling of other HTTP request methods than GET and POST.
- New module: Not-Found Module enables custom 404 page.
404 page can be any resource, static or dynamic.
- Cookies support have been reworked.
Both version 0 and version 1 of the cookie standard is supported.
While testing the cookies support I found a lot of bugs in the browsers.
- Sessions are now verified through cookies,
not only IP address as before.
- A security hole in Files Module has been patched.
- A number of minor bugs fixes and minor improvements.
- Servlet API classes is not longer included for licensing reasons.
Download Servlet classes here. Note: Servlet API version must be 2.3.
Build 20050827 released.
This is the first release since 2003. Changes in brief:
Settings are now stored and retrieved through Java's Preferences API rather than files,
use PrefsEdit as configuration tool.
Included documentation have been heavily extended and improved,
now including a configuration guide.
Status messages and documents are now in XHTML 1.0 standard.
Application can now run one-file without any unzip.
Features
Through the included modules you have the following features:
- Standard web access.
Files are being read from a directory structure.
Headers like Last-Modified, Content-Length and Content-Type are set.
304 Not modified responses are applied.
Broken downloads can be resumed for clients that support content ranges.
- Servlets support.
AnyOSWeb can run simple servlets.
Servlets are small Java applications that runs on the server side of the connection.
The implementation is not complete, see the documentation to check which servlet functions that are supposed to work.
- Contents from zips. Web contents can be retrieved directly from zip files.
If a requested file matches a zipfile entry, that file entry will be sent to client, uncompressing on-the-fly.
Setup
Download the anyosweb.jar file.
Download servlet class files and put them into classpath.
Note: Servlet API version must be 2.3.
Launch the file from a console window with command java -jar anyosweb.jar.
If you use Windows and don't know how to work with consoles, a doubleclick on the file will work (but not show any output).
The web server will immediately boot up with default settings.
If the documentation is not automatically shown, open web browser and go to http://127.0.0.1/ to enter it.
Reading the documentation you will learn how to use and configure AnyOSWeb.
If server start fails, if documentation is unreachable,
check that you have the right to use port 80 and no other program is using it.
Contact me if problem persists.
Security tip: Every computer connected to the Internet should use a firewall.