<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: CGI over SSL in Operating System - OpenVMS</title>
    <link>https://community.hpe.com/t5/operating-system-openvms/cgi-over-ssl/m-p/5184422#M95407</link>
    <description>You said, "Configuration equal on both systems, except for certificatefile and mapping."&lt;BR /&gt;&lt;BR /&gt;I'm no Apache expert (give me WASD any day) but if the mappings are not identical could that be the problem?&lt;BR /&gt;&lt;BR /&gt;Does VMS log any security audit alarms when you try to access the "missing" page?&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Jeremy Begg</description>
    <pubDate>Wed, 01 Jul 2009 04:33:53 GMT</pubDate>
    <dc:creator>Jeremy Begg</dc:creator>
    <dc:date>2009-07-01T04:33:53Z</dc:date>
    <item>
      <title>CGI over SSL</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/cgi-over-ssl/m-p/5184421#M95406</link>
      <description>Two non-related nodes, OpenVMS 7.3-2, SWS 2.1-1&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Situation: Page accessed over https contains link leading to CGI-procedure (same server, same port).&lt;BR /&gt;Configuration equal on both systems, except for certificatefile and mapping.&lt;BR /&gt;&lt;BR /&gt;On both systems, the page is shown correctly, but on one system, the link shows the right result; on the other system, the link results in "Page not found", but the file does exist and protection should not constitute a problem:&lt;BR /&gt;&lt;BR /&gt;(IDENTIFIER=[AP_HTTPD,APACHE$WWW],ACCESS=READ+WRITE+EXECUTE)&lt;BR /&gt;(IDENTIFIER=APPL_USER,ACCESS=READ+EXECUTE)&lt;BR /&gt;&lt;BR /&gt;(The second identifier is granted to APACHE$WWW)</description>
      <pubDate>Tue, 30 Jun 2009 06:32:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/cgi-over-ssl/m-p/5184421#M95406</guid>
      <dc:creator>Willem Grooters</dc:creator>
      <dc:date>2009-06-30T06:32:27Z</dc:date>
    </item>
    <item>
      <title>Re: CGI over SSL</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/cgi-over-ssl/m-p/5184422#M95407</link>
      <description>You said, "Configuration equal on both systems, except for certificatefile and mapping."&lt;BR /&gt;&lt;BR /&gt;I'm no Apache expert (give me WASD any day) but if the mappings are not identical could that be the problem?&lt;BR /&gt;&lt;BR /&gt;Does VMS log any security audit alarms when you try to access the "missing" page?&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Jeremy Begg</description>
      <pubDate>Wed, 01 Jul 2009 04:33:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/cgi-over-ssl/m-p/5184422#M95407</guid>
      <dc:creator>Jeremy Begg</dc:creator>
      <dc:date>2009-07-01T04:33:53Z</dc:date>
    </item>
    <item>
      <title>Re: CGI over SSL</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/cgi-over-ssl/m-p/5184423#M95408</link>
      <description>Ideally, there would be no difference but we use different named concealed devices than the target system. Ideally, there would be no difference, but reality is never ideal:&lt;BR /&gt; &lt;BR /&gt;Source: APPL_SUB_CGI ==&amp;gt; APPL_ROOTY:[SUB.CGI]&lt;BR /&gt;Target: APPL_SUB_CGI ==&amp;gt; ANOTHERROOT:[SUB.CGI]&lt;BR /&gt;&lt;BR /&gt;That is: the name used in the URL maps are equal but the mapping is different. But as long as these logicals are referring to the right location (they do) and are defined when APACHE starts (/SYSTEM - they do) this should not be a problem.&lt;BR /&gt;And it isn't; static pages are aside the CGI directory (root:[SUB.HTML]) and can be accessed.&lt;BR /&gt;&lt;BR /&gt;Logs (ACC, Audit) show nothing, The apache access log just that the result of the URL of HTML pages is 200, but accessing a CGI procedure (any, in fact) is 404, and that's the problem to solve...&lt;BR /&gt;&lt;BR /&gt;"give me WASD any day": Count me in. If I were in a position to change webserver over here, I would. I wouldn't have this problem anyway - and I wouldn't need ITRC to solve it.&lt;BR /&gt;</description>
      <pubDate>Wed, 01 Jul 2009 05:30:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/cgi-over-ssl/m-p/5184423#M95408</guid>
      <dc:creator>Willem Grooters</dc:creator>
      <dc:date>2009-07-01T05:30:02Z</dc:date>
    </item>
    <item>
      <title>Re: CGI over SSL</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/cgi-over-ssl/m-p/5184424#M95409</link>
      <description>One more thing: It did work before, without SSL. But since secure access is a requirement, the configuration was changed but only in that aspect.&lt;BR /&gt;</description>
      <pubDate>Wed, 01 Jul 2009 05:36:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/cgi-over-ssl/m-p/5184424#M95409</guid>
      <dc:creator>Willem Grooters</dc:creator>
      <dc:date>2009-07-01T05:36:44Z</dc:date>
    </item>
    <item>
      <title>Re: CGI over SSL</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/cgi-over-ssl/m-p/5184425#M95410</link>
      <description>More information:&lt;BR /&gt;&lt;BR /&gt;We found that mapping using a logical that contains a "$"  seems to be part of the problem:&lt;BR /&gt;&lt;BR /&gt;ScriptAlias /APPL-sub-cgi/ "appl$sub:[cgi]" &lt;BR /&gt;&lt;BR /&gt;results in a " Page not found"  error (404).&lt;BR /&gt;&lt;BR /&gt;Now this has been changed to&lt;BR /&gt;&lt;BR /&gt;ScriptAlias /APPL-sub-cgi/ "appl_sub:[cgi]" &lt;BR /&gt;&lt;BR /&gt;after this logical was added to LNM$SYSTEM.&lt;BR /&gt;Restarted CSWS, of course.&lt;BR /&gt;&lt;BR /&gt;Next, we get "Internal server error"  and ERROR_LOG shows:&lt;BR /&gt;&lt;BR /&gt; File does not exist: /apache$root/htdocs/APPL-sub-cgi&lt;BR /&gt;&lt;BR /&gt;That is correct: that file doesn't exist.&lt;BR /&gt;It seems mapping is simply not done!&lt;BR /&gt;&lt;BR /&gt;However, the logical appl$sub_root is used in Documentroot, ErrorLog and Customlog, and that does NOT cause problems.&lt;BR /&gt;&lt;BR /&gt;It seems mapping is simply not done.&lt;BR /&gt;</description>
      <pubDate>Fri, 03 Jul 2009 06:39:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/cgi-over-ssl/m-p/5184425#M95410</guid>
      <dc:creator>Willem Grooters</dc:creator>
      <dc:date>2009-07-03T06:39:28Z</dc:date>
    </item>
    <item>
      <title>Re: CGI over SSL</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/cgi-over-ssl/m-p/5184426#M95411</link>
      <description>Solved.&lt;BR /&gt;&lt;BR /&gt;Multiple issues in the configuration of this virtual host caused the problems:&lt;BR /&gt;&lt;BR /&gt;* failure finding the files (both CGI-procedure and static page) was cause by the naming of the logicals:&lt;BR /&gt;&lt;BR /&gt;ScriptAlias /appl_sub/ "/appl_sub/cgi"&lt;BR /&gt;&lt;BR /&gt;is fine with, or without SSL, but&lt;BR /&gt;&lt;BR /&gt;ScriptAlias /appl_sub/ "/appl$sub/cgi"&lt;BR /&gt;&lt;BR /&gt;causes "page not found" (code 404) when SSL is enabled.&lt;BR /&gt;&lt;BR /&gt;* An error in the configuration was completely overlooked. The original file contains the right line:&lt;BR /&gt;&lt;BR /&gt;AddHandler cgi-script .cgi .com .exe&lt;BR /&gt;&lt;BR /&gt;but the failing configuration contained: &lt;BR /&gt;&lt;BR /&gt;AddHandler .cgi .com .exe&lt;BR /&gt;&lt;BR /&gt;However, without SSL, the script was executed; with SSL, this error caused start of download - and failre because "CGI" was not found; if the URL contained the full name ("CGI.COM") there would not be a problem.&lt;BR /&gt;&lt;BR /&gt;When we chnaged the logicals of DocumentRoot and the mapping rules and removed "$" - and deassignd the logicals - the server did not start. This was an easy guess: the removed logicals were still used in the definition of the logfiles... But IMHO, SWS should have signalled an error or warning; even more: should run and serve hosts that were properly defined...&lt;BR /&gt;</description>
      <pubDate>Mon, 06 Jul 2009 07:51:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/cgi-over-ssl/m-p/5184426#M95411</guid>
      <dc:creator>Willem Grooters</dc:creator>
      <dc:date>2009-07-06T07:51:11Z</dc:date>
    </item>
    <item>
      <title>Re: CGI over SSL</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/cgi-over-ssl/m-p/5184427#M95412</link>
      <description>The difference in behaviour is now somewhat documented :)&lt;BR /&gt;</description>
      <pubDate>Mon, 06 Jul 2009 07:55:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/cgi-over-ssl/m-p/5184427#M95412</guid>
      <dc:creator>Willem Grooters</dc:creator>
      <dc:date>2009-07-06T07:55:30Z</dc:date>
    </item>
  </channel>
</rss>

