VMS Web

Introduction:

This is a web server for VMS. Or maybe more accurate a small sub set of a web server for VMS.

Note that less than 1% of the code is mine - the remaining more than 99% of the code comes from various open source projects including Eclipse Jetty.

What is not supported

The following features are not available:

If you need those features then pick a full web server like one of:

What is supported

The following features are available:

Why would anyone choose such a feature poor product?

Sometimes a simpler product is better:

Requirements:

Install:

  1. unzip vmsweb-bin.zip
  2. unzip -aa temp.zip
  3. @fixup

Run:

  1. @setup
  2. runserver [option] ... [option]

Options:

http <port>
process HTTP requests on specified port
https <port> <JKS file> <passphrase>
process HTTPs requests on specified port using certificate from JKS file
file <dir>
serve files from specified directory tree at context / (URL /xyz/abc.txt is mapped to file <dir>/xyz/abc.txt)
jsonapi
serve Java plugins returning JSON at context /jsonapi (URL /jsonapi/<classname>?<query> load and execute class <classname> found in classpath)
xmlapi
serve Java plugins returning XML at context /xmlapi (URL /xmlapi/<classname>?<query> load and execute class <classname> found in classpath)
help
serve VMS HELP at context /help (URL /help/?A+B+C get VMS HELP for ABC)
login
require VMS login for all requests

Examples:

runserver http 8001 file /disk2/arne/www
listen for HTTP on port 8001 and serve files in DISK2:[ARNE.WWW]
runserver http 8001 https 8002 arne.jks topsecret file /disk2/arne/www
listen for HTTP on port 8001, HTTPS on port 8002 and serve files in DISK2:[ARNE.WWW]
runserver https 8002 arne.jks topsecret file /disk2/arne/www login
listen for HTTPS on port 8002, serve files in DISK2:[ARNE.WWW] and require VMS login
runserver http 8001 help
listen for HTTP on port 8001 and serve VMS HELP
runserver http 8001 jsonapi
listen for HTTP on port 8001 and serve plugins returning JSON

License:

Java Doc:

See documentation here.

Feedback:

For questions and comments send email to author arne@vajhoej.dk.