<html><body><div style="color:#000; background-color:#fff; font-family:times new roman, new york, times, serif;font-size:16px"><div dir="ltr" id="yui_3_16_0_1_1427359572431_43373"><span id="yui_3_16_0_1_1427359572431_44145">Hi me again. I was thinking that i fix it but i didn't. Today i try ed to open the detailed info on some monitored device and its the same problem like yesterday, the browser gives me only the download option of the svcstatus.sh. From yesterday when it worked i didn't edit anything. I don't know what to do.</span></div><div id="yui_3_16_0_1_1427359572431_43320"><div id="yui_3_16_0_1_1427359572431_46935"> </div><div id="yui_3_16_0_1_1427359572431_47505" dir="ltr">And another thing i don't have xymon-apache.conf in ~/server/etc/xymon-apache.conf. My "xymon-apache.conf" is only located in /etc/apache2/conf.d/xymon<br></div><div id="yui_3_16_0_1_1427359572431_46373"><br></div><div id="yui_3_16_0_1_1427359572431_48643" dir="ltr">I'm sending you my apache.conf and xymon.conf</div><div id="yui_3_16_0_1_1427359572431_48644"><br></div>Alias /xymon  "/usr/lib/xymon/server/www"<br style="" class=""><Directory "/usr/lib/xymon/server/www"><br style="" class="">    Options Indexes FollowSymLinks Includes MultiViews<br style="" class="">    Order allow,deny<br style="" class="">    Allow from all<br style="" class=""></Directory><br style="" class=""><br style="" class="">ScriptAlias /xymon-cgi "/usr/lib/xymon/cgi-bin"<br style="" class=""><Directory "/usr/lib/xymon/cgi-bin"><br style="" class="">    AllowOverride None<br style="" class="">    Options ExecCGI Includes<br style="" class="">    Order allow,deny<br style="" class="">    Allow from all<br style="" class=""></Directory><br style="" class=""><br style="" class="">ScriptAlias /xymon-seccgi "/usr/lib/xymon/cgi-secure"<br style="" class=""><Directory "/usr/lib/xymon/cgi-secure"><br style="" class="">    AllowOverride None<br style="" class="">    Options ExecCGI Includes<br style="" class="">    Order allow,deny<br style="" class="">    Allow from all<br style="" class=""><br style="" class="">    # Password file where users with access to these scripts are kept.<br style="" class="">    # Create it with "htpasswd -c /usr/lib/xymon/server/etc/xymonpasswd USERNAME"<br style="" class="">    # Add more users / change passwords with "htpasswd /usr/lib/xymon/server/etc/xymonpasswd USERNAM<br style="" class=""><br style="" class="">    AuthUserFile /usr/lib/xymon/server/etc/xymonpasswd<br style="" class="">    AuthType Basic<br style="" class="">    AuthName "Xymon Administration"<br style="" class="">    Require valid-user<br style="" class=""></Directory><br style="" class=""><br style="" class=""></div><div id="yui_3_16_0_1_1427359572431_43318"><div id="yui_3_16_0_1_1427359572431_43317">
<br></div></div>  <br><div class="qtdSeparateBR"><br><br></div><div style="display: block;" class="yahoo_quoted"> <div style="font-family: times new roman, new york, times, serif; font-size: 16px;"> <div style="font-family: HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif; font-size: 16px;"> <div dir="ltr"> <font face="Arial" size="2"> On Friday, March 27, 2015 8:05 AM, Ales Krek <aleskrek@yahoo.com> wrote:<br> </font> </div>  <br><br> <div class="y_msg_container"><div id="yiv6038609449"><div><div style="color:#000;background-color:#fff;font-family:times new roman, new york, times, serif;font-size:16px;"><div dir="ltr" id="yiv6038609449yui_3_16_0_1_1427359572431_39540">Thank you for reply. I solved a problem. The problem was that i didn't have correct configuration in apache.conf. I fix it and now it opens in browser but :) here is a thing the browser gives me  <br clear="none"></div><div dir="ltr" id="yiv6038609449yui_3_16_0_1_1427359572431_39542"><span id="yiv6038609449yui_3_16_0_1_1427359572431_40832"><br clear="none"></span></div><div dir="ltr" id="yiv6038609449yui_3_16_0_1_1427359572431_41275"><span id="yiv6038609449yui_3_16_0_1_1427359572431_40832">- /xymon-cgi/svcstatus.sh?HOST=XymonServer&SERVICE=conn</span></div><div dir="ltr" id="yiv6038609449yui_3_16_0_1_1427359572431_41707"><br clear="none"><span id="yiv6038609449yui_3_16_0_1_1427359572431_40832"></span></div><div dir="ltr" id="yiv6038609449yui_3_16_0_1_1427359572431_41420"><span id="yiv6038609449yui_3_16_0_1_1427359572431_40832">- Not Found <br clear="none"></span></div><div dir="ltr" id="yiv6038609449yui_3_16_0_1_1427359572431_41709"><br clear="none"><span id="yiv6038609449yui_3_16_0_1_1427359572431_40832"></span></div><div dir="ltr" id="yiv6038609449yui_3_16_0_1_1427359572431_41711"><span class="yiv6038609449" id="yiv6038609449yui_3_16_0_1_1427359572431_40832" style="">-</span> The requested URL /xymon-cgi/svcstatus.sh was not found on this server.</div><div id="yiv6038609449yui_3_16_0_1_1427359572431_39544"> </div><div id="yiv6038609449yui_3_16_0_1_1427359572431_40184"><div id="yiv6038609449yui_3_16_0_1_1427359572431_40183"><br clear="none"><div dir="ltr" id="yiv6038609449yui_3_16_0_1_1427359572431_41713">Do u have any ideas? :) I will try on my own, but any help or idea is welcome.</div><div dir="ltr" id="yiv6038609449yui_3_16_0_1_1427359572431_41960"><br clear="none"></div><div dir="ltr" id="yiv6038609449yui_3_16_0_1_1427359572431_41961">Thank you!</div><div dir="ltr" id="yiv6038609449yui_3_16_0_1_1427359572431_42183"><br clear="none"></div><div dir="ltr" id="yiv6038609449yui_3_16_0_1_1427359572431_42182">Aleš Krek<br clear="none"></div></div></div>  <br clear="none"><div class="yiv6038609449qtdSeparateBR"><br clear="none"><br clear="none"></div><div class="yiv6038609449yqt1518617669" id="yiv6038609449yqt31181"><div class="yiv6038609449yahoo_quoted" style="display:block;"> <div style="font-family:times new roman, new york, times, serif;font-size:16px;"> <div style="font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:16px;"> <div dir="ltr"> <font face="Arial" size="2"> On Thursday, March 26, 2015 10:11 PM, J.C. Cleaver <cleaver@terabithia.org> wrote:<br clear="none"> </font> </div>  <br clear="none"><br clear="none"> <div class="yiv6038609449y_msg_container"><br clear="none"><br clear="none">On Thu, March 26, 2015 1:28 am, Ales Krek wrote:<br clear="none">> Hi.I can't get svcstatus.sh on the web browser. The only option i get when<br clear="none">> i click on conn icon of som monitored device in to download svcstatus.sh.<br clear="none">> Can some one please tell me what I'm missing or doing wrong. I would be<br clear="none">> wary glad if some one could send me an example of the configuration.<br clear="none">><br clear="none">> I'm wary new to xymon. Manny Thanks to all of you guy.<br clear="none">> Ales Krek. <br clear="none">><br clear="none"><br clear="none"><br clear="none">It sounds like ".sh" files might not be being recognized as a CGI script<br clear="none">by your web server.<br clear="none"><br clear="none"><br clear="none">Depending on your version, you may need a line something like this:<br clear="none"><br clear="none">   AddHandler cgi-script .sh<br clear="none"><br clear="none">...in your apache config.<br clear="none"><br clear="none">Alternatively, you might want to compare the xymon-apache.conf file that<br clear="none">came with the package with the version that you have installed and look<br clear="none">for any discrepancies.<br clear="none"><br clear="none"><br clear="none">HTH,<br clear="none">-jc<br clear="none"><br clear="none"><br clear="none"><br clear="none"></div>  </div> </div>  </div></div></div></div></div><br><br></div>  </div> </div>  </div></div></body></html>