Sunday, March 09, 2008

HP OpenVMS Secure WebServer (Apache)

Now that we've tested WASD, we can also try HP Secure WebServer (ex Compaq WebServer). It's basically Apache + SSL and OpenVMS patches.

FTP upload or download or get the packages on the server.

$ DIR SYS$SYSROOT:[SYSMGR.hpweb]

Directory SYS$SYSROOT:[SYSMGR.hpweb]

CPQ-AXPVMS-CSWS-V0201-1-1.PCSI_SFX_AXPEXE;1

Total of 1 file.
$ SET DEF SYS$SYSROOT:[SYSMGR.hpweb]


$ RUN SYS$SYSROOT:[SYSMGR.hpweb]CPQ-AXPVMS-CSWS-

V0201-1-1.PCSI_SFX_AXPEXE;1
UnZipSFX 5.42 of 14 January 2001, by Info-ZIP (Zip-

Bugs@lists.wku.edu).
inflating: CPQ-AXPVMS-CSWS-V0201-1-

1.PCSI$COMPRESSED
inflating: CPQ-AXPVMS-CSWS-V0201-1-

1.PCSI$COMPRESSED_ESW


$ DIR/SIZE

Directory SYS$SYSROOT:[SYSMGR.hpweb]

CPQ-AXPVMS-CSWS-V0201-1-1.PCSI$COMPRESSED;1
24952
CPQ-AXPVMS-CSWS-V0201-1-1.PCSI$COMPRESSED_ESW;1
18
CPQ-AXPVMS-CSWS-V0201-1-1.PCSI_SFX_AXPEXE;1
19887


$ PRODUCT INSTALL
_Product name (* to show list): *
The following product has been selected:
CPQ AXPVMS CSWS V2.1-1 Layered Product


Once the package is installed, configure it:

@SYS$MANAGER:APACHE$CONFIG

Now you can start apache:

$ @SYS$STARTUP:APACHE$STARTUP.COM

$ TELNET deimos 80
GET / HTTP/1.1
HTTP/1.1 200 OK
Date: Sun, 09 Mar 2008 10:20:05 GMT
Server: Apache/2.0.52 (OpenVMS)


Let's say we'd like to patch our webserver instead, using Web Server Suite Software Patch Kits.

Stop Apache:

$ @SYS$STARTUP:APACHE$SHUTDOWN.COM

$ RUN CPQ-AXPVMS-CSWS211_UPDATE-V0100--4.PCSI_SFX_AXPEXE;1
UnZipSFX 5.42 of 14 January 2001, by Info-ZIP (Zip-Bugs@lists.wku.edu).
inflating: CPQ-AXPVMS-CSWS211_UPDATE-V0100--4.PCSI$COMPRESSED
inflating: CPQ-AXPVMS-CSWS211_UPDATE-V0100--4.PCSI$COMPRESSED_ESW
$ PRODUCT INSTALL
_Product name (* to show list): *

The following product has been selected:
CPQ AXPVMS CSWS211_UPDATE V1.0 Patch (remedial update)

[...]

The following product has been installed (and a recovery data set created):
CPQ AXPVMS CSWS211_UPDATE V1.0 Patch (maintenance update)

CPQ AXPVMS CSWS211_UPDATE V1.0: Functional update for CSWS V2.1-1

Post-installation tasks are not required.

Now you can start the webserver:

$ @SYS$STARTUP:APACHE$STARTUP

You can now just drop stuff in SYS$COMMON:[APACHE.HTDOCS]

0 comments: