<html>
  <head>
    <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix">Yeah, maybe, except it's how apache
      does multi-language page support i.e:<br>
      <br>
      help.fr.html<br>
      help.en.html<br>
      help.cn.html<br>
      <br>
      etc<br>
      <br>
      <br>
      <br>
      On 5/19/16 6:53 AM, <a class="moz-txt-link-abbreviated" href="mailto:hobbit@epperson.homelinux.net">hobbit@epperson.homelinux.net</a> wrote:<br>
    </div>
    <blockquote
      cite="mid:94c48a989031c7c7b8a91f553fd34a32@epperson.homelinux.net"
      type="cite">
      <p>Glad you figured it out.</p>
      <p>Given that the file name has "cgi.1.html", I'd consider the
        handling as a multi-extension to be a bug.</p>
      <p> </p>
      <div> </div>
      <p>On 2016-05-19 2:51, Bruce Ferrell wrote:</p>
      <blockquote type="cite" style="padding-left:5px;
        border-left:#1010ff 2px solid; margin-left:5px"><!-- html ignored --><!-- head ignored --><!-- meta ignored -->
        <pre>I didn't find the problem directive, BUT I did find that apache 2 interprets files like these as multi extension files (i.e. both cgi AND html are extensions, cgi being found first)

SO I added the following to the bottom of xymon-apache.conf:

<FilesMatch \.html>
  SetHandler text/html
</FilesMatch>

forcing the html man pages to html


On 05/18/2016 07:33 AM, <a moz-do-not-send="true" href="mailto:hobbit@epperson.homelinux.net">hobbit@epperson.homelinux.net</a>wrote:</pre>
        <blockquote type="cite" style="padding-left:5px;
          border-left:#1010ff 2px solid; margin-left:5px">I'd look
          through the Apache configs for a regex that matches the folder
          (or objects with ".cgi"), probably in a ScriptAliasMatch or
          LocationMatch directive (although there are a number of other
          candidates). On 2016-05-18 3:35, Bruce Ferrell wrote:
          <blockquote type="cite" style="padding-left:5px;
            border-left:#1010ff 2px solid; margin-left:5px">I'm getting
            some errors that are making me nuts when I access the man
            pages for the cgi programs The apache log shows this:
            Options ExecCGI is off in this directory:
            /home/xymon/server/www/help/manpages/man1/ackinfo.cgi.1.html,
            referer: <a moz-do-not-send="true"
              href="http://server.org/xymon/help/manpages/man1/">http://server.org/xymon/help/manpages/man1/</a>
            And of course, when I add ExecCGI I get: Premature end of
            script headers: ackinfo.cgi.1.html The server is scientific
            linux 6 Suggestions?
            _______________________________________________ Xymon
            mailing list <a moz-do-not-send="true"
              href="mailto:Xymon@xymon.com">Xymon@xymon.com</a>
            <mailto:<a moz-do-not-send="true"
              href="mailto:Xymon@xymon.com">Xymon@xymon.com</a>> <a
              moz-do-not-send="true"
              href="http://lists.xymon.com/mailman/listinfo/xymon"><a class="moz-txt-link-freetext" href="http://lists.xymon.com/mailman/listinfo/xymon">http://lists.xymon.com/mailman/listinfo/xymon</a></a></blockquote>
          _______________________________________________ Xymon mailing
          list <a moz-do-not-send="true" href="mailto:Xymon@xymon.com">Xymon@xymon.com</a>
          <a moz-do-not-send="true"
            href="http://lists.xymon.com/mailman/listinfo/xymon">http://lists.xymon.com/mailman/listinfo/xymon</a></blockquote>
        <pre>_______________________________________________
Xymon mailing list
<a moz-do-not-send="true" href="mailto:Xymon@xymon.com">Xymon@xymon.com</a>
<a moz-do-not-send="true" href="http://lists.xymon.com/mailman/listinfo/xymon">http://lists.xymon.com/mailman/listinfo/xymon</a>

</pre>
      </blockquote>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
Xymon mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Xymon@xymon.com">Xymon@xymon.com</a>
<a class="moz-txt-link-freetext" href="http://lists.xymon.com/mailman/listinfo/xymon">http://lists.xymon.com/mailman/listinfo/xymon</a>
</pre>
    </blockquote>
    <p><br>
    </p>
  </body>
</html>