Webware for Python is a suite of Python packages and tools for developing object-oriented, web-based applications. The suite uses well known design patterns and includes a fast Application Server, Servlets, Python Server Pages (PSP), Object-Relational Mapping, Task Scheduling, Session Management, and many other features. Webware is very modular and easily extended.
Webware for Python is well proven and platform-independent. It is compatible with multiple web servers, database servers and operating systems.
Where to download kits
The recommended way to install Webware for Python on OpenVMS is to install the Portable Python kit, for more information view Download and installation of Python for OpenVMS
How to install Webware for Python on OpenVMS
Webware for Python is already installed in the Portable Python LD image.
There is also a demonstration video of how to setup a server:
Setup an application srever
First you have to create two root directory on any ODS5 device.
$ create/directory/prot=w:e dev1:[dir1.users] $ create/directory/prot=w:e dev2:[dir2.app]
For any VMS account which will be user to run a server:
$ @webware_root:[vms]add_webware_user username dev1:[dir1.users]
If you want to create an application in dev2:[dir2.app.myapp]
$ @python_vms:setup $ set default dev2:[dir2.app] $ python /webware_root/vms/CgiPlusMakeAppWorkDir.py myapp $ set prot=w:re [.myapp...]*.*
To finish you must create a CGIPlus script like the following
$ @WEBWARE094_ROOT:[VMS]CGIPlusLaunchWebKit - dev1:[dir1.users] - dev2:[dir2.app.myapp]
dev1:[dir1.users]is the directory which holds the directory created using the procedure
dev2:[dir2.app.myapp]is the directory created by
You will also need to add some rules to your HTTPD$MAP.CONF file
set /myapp/* map=once cache=noscript auth=once set /myapp/* script=as=WEBUSR set /myapp/* SCRIPT=SYNTAX=UNIX set /myapp/* throttle=1,,,20,,00:05:00 script+ /myapp/* /cgi-bin/myapp.com*
cgi-bin:myapp.com is the script previously mentioned.