Operating System - OpenVMS
cancel
Showing results for 
Search instead for 
Did you mean: 

static pages cut by SSL?

 
SOLVED
Go to solution
Willem Grooters
Honored Contributor

static pages cut by SSL?

VMS 7.3-2, SWS 2.1-1 with SSL enabled.

http://server:port1/path/page.html shows correct page, where https://server:port2/path/page.html does not: the page is incomplete and some nonprintable characters are translated into printable characters, causing link failures; see attachment ("View Source" output).

Output that is generated by a CGI script (that TYPEs a file to SYS$OUTPUT) is correct - no matter the size.

This is not browser dependent: It happens with both IE and Firefox.

What causes this behaviour?

Willem Grooters
OpenVMS Developer & System Manager
5 REPLIES 5
John Gillings
Honored Contributor

Re: static pages cut by SSL?

Willem,

forgot the attachment?

Sounds like a bug to me. I'd recommend logging this with HP Customer Support.
A crucible of informative mistakes
Willem Grooters
Honored Contributor

Re: static pages cut by SSL?

I'm certain I added the attachement, but here it is again.
Willem Grooters
OpenVMS Developer & System Manager
Bojan Nemec
Honored Contributor
Solution

Re: static pages cut by SSL?

Willem,

The output seems an VMS variable length or VFC sequential file.

Check if you have the EnableMMAP directive set to ON.

Bojan
Willem Grooters
Honored Contributor

Re: static pages cut by SSL?

EnableMMap is set to Off (default)
Switched to ON requires the file(s) to be converted to Stream_LF. Also, there was an error in the file (missing end-quote) that caused a problem when accessed using SSL but without, the brwoser seemed happy enough.

Willem Grooters
OpenVMS Developer & System Manager
Willem Grooters
Honored Contributor

Re: static pages cut by SSL?

EnableMMap On

This can be used within a for the whole virtual host, or in if just that difrectory will be accessed.

It requires that all static files that are accessed using SSL are converted to STREAM_LF
(Create a FDL file, change FORMAT to STREAM_LF and use that FDL file in CONVERT. Changing attributes doesn't change the internal structure - which is required here). These files will be accessed with, or without SSL, and the standard EDIT has no problems with these files (unless the record size exceeds the process quota)
Willem Grooters
OpenVMS Developer & System Manager