Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Looks like it is working to me. What makes you think it is not? The only thing I can see that might be wrong is you wrote "shtm" instead of "shtml" in your config, bottom line.
Well of course it won't appear there because you named it test.shtml
extinfo-footer.ssi is the name of the file that the CGI pulls from. I thought you were saying the example doesn't work. You will need to put your code in the appropriate file and add the .ssi handler to the httpd.conf file. The CGI won't pull in just any old file in the SSI directory.
You had said previously that you put your code into extinfo-footer.ssi, and in my last post I said that's where it should go. And if you are using .ssi files and not .shtml files, then you will need to make that change in the httpd.conf file. Change the .shtml extension to .ssi and save.
That's because you didn't make the changes I suggested.
tmcdonald wrote:You had said previously that you put your code into extinfo-footer.ssi, and in my last post I said that's where it should go.
You need to open the extinfo-footer.ssi file in a text editor, type in whatever you want to be displayed on the page, save the file and close it. Putting your code in test.shtml will not work because the CGI program does not look for a file named test.shtml and therefor cannot include it.
tmcdonald wrote:And if you are using .ssi files and not .shtml files, then you will need to make that change in the httpd.conf file. Change the .shtml extension to .ssi and save.
You need to open the httpd.conf file in a text editor, and change
Can you show us a directory listing of the SSI folder, with permissions? Also, post the section of your httpd.conf that you've been editing, and the actual SSI file you are writing.