[Xymon] apache trying to execute cgi man pages - SOLVED
hobbit at epperson.homelinux.net
hobbit at epperson.homelinux.net
Thu May 19 15:53:11 CEST 2016
Glad you figured it out.
Given that the file name has "cgi.1.html", I'd consider the handling as
a multi-extension to be a bug.
On 2016-05-19 2:51, Bruce Ferrell wrote:
> 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, hobbit at epperson.homelinux.netwrote:
> 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: 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: http://server.org/xymon/help/manpages/man1/ [1] 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 Xymon at xymon.com <mailto:Xymon at xymon.com> http://lists.xymon.com/mailman/listinfo/xymon [2] _______________________________________________ Xymon mailing list Xymon at xymon.com http://lists.xymon.com/mailman/listinfo/xymon [2]
_______________________________________________
Xymon mailing list
Xymon at xymon.com
http://lists.xymon.com/mailman/listinfo/xymon [2]
Links:
------
[1] http://server.org/xymon/help/manpages/man1/
[2] http://lists.xymon.com/mailman/listinfo/xymon
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20160519/b2541e74/attachment.html>
More information about the Xymon
mailing list