<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Tue, May 19, 2015 at 6:39 PM, J.C. Cleaver <span dir="ltr"><<a href="mailto:cleaver@terabithia.org" target="_blank">cleaver@terabithia.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><span class="">On Tue, May 19, 2015 12:04 pm, Asif Iqbal wrote:<br>
> On Tue, May 19, 2015 at 2:06 PM, J.C. Cleaver <<a href="mailto:cleaver@terabithia.org">cleaver@terabithia.org</a>><br>
> wrote:<br>
><br>
>><br>
>> Hmm. So far, the only way I've been able to reproduce this is by<br>
>> replacing<br>
>> the ScriptAlias directives with mere Alias's in the xymon.conf apache<br>
>> config.<br>
>><br>
><br>
><br>
> I am using the config, as is, that came as xymon-apache.conf with the<br>
> source 4.3.20<br>
><br>
<br>
>> Has there been any change in the path you've used for the CGI directory<br>
>> since the previous version, or is there any chance that another Alias<br>
>> line<br>
>><br>
><br>
> xymon and xymon-client debian version 4.3.17 has been removed, so no<br>
> more xymon in /usr/lib/xymon<br>
<br>
<br>
</span><span class="">>> On Tue, May 19, 2015 10:37 am, Cortes, Manny wrote:<br>
>> > Having the same problem after installing 4.3.20 on both Ubuntu server<br>
>> > 14.04 and 15.04.<br>
>> ><br>
>> > Thanks,<br>
>> ><br>
<br>
<br>
</span>Can you send a copy of the previous and current xymon.conf configs?<br></blockquote><div><br></div><div>Here is the current config</div><div><br></div><div> /etc/apache2/sites-enabled$ egrep -v "^$|^#" xymon-apache.conf </div><div><br></div><div>Alias /xymon/  "/var/lib/xymon/server/www/"</div><div><Directory "/var/lib/xymon/server/www"></div><div>    Options Indexes FollowSymLinks Includes MultiViews</div><div>    <IfModule mod_authz_core.c></div><div>        # Apache 2.4+</div><div>        Require all granted</div><div>    </IfModule></div><div>    <IfModule !mod_authz_core.c></div><div>        Order deny,allow</div><div>        Allow from all</div><div>    </IfModule></div><div></Directory></div><div>ScriptAlias /xymon-cgi/ "/var/lib/xymon/cgi-bin/"</div><div><Directory "/var/lib/xymon/cgi-bin"></div><div>    AllowOverride None</div><div>    Options ExecCGI FollowSymLinks Includes</div><div>    <IfModule mod_authz_core.c></div><div>        # Apache 2.4+</div><div>        Require all granted</div><div>    </IfModule></div><div>    <IfModule !mod_authz_core.c></div><div>        Order deny,allow</div><div>        Allow from all</div><div>    </IfModule></div><div></Directory></div><div>ScriptAlias /xymon-seccgi/ "/var/lib/xymon/cgi-secure/"</div><div><Directory "/var/lib/xymon/cgi-secure"></div><div>    AllowOverride None</div><div>    Options ExecCGI FollowSymLinks Includes</div><div>    <IfModule mod_authz_core.c></div><div>        # Apache 2.4+</div><div>        Require all granted</div><div>    </IfModule></div><div>    <IfModule !mod_authz_core.c></div><div>        Order deny,allow</div><div>        Allow from all</div><div>    </IfModule></div><div>    # Password file where users with access to these scripts are kept.</div><div>    # Create it with "htpasswd -c /var/lib/xymon/server/etc/xymonpasswd USERNAME"</div><div>    # Add more users / change passwords with "htpasswd /var/lib/xymon/server/etc/xymonpasswd USERNAME"</div><div>    #</div><div>    # You can also use a group file to restrict admin access to members of a</div><div>    # group, instead of anyone who is logged in. In that case you must setup</div><div>    # the "xymongroups" file, and change the "Require" settings to require</div><div>    # a specific group membership. See the Apache docs for more details.</div><div>    AuthUserFile /var/lib/xymon/server/etc/xymonpasswd</div><div>    AuthGroupFile /var/lib/xymon/server/etc/xymongroups</div><div>    AuthType Basic</div><div>    AuthName "Xymon Administration"</div><div>    # "valid-user" restricts access to anyone who is logged in.</div><div>    Require valid-user</div><div>    # "group admins" restricts access to users who have logged in, AND</div><div>    # are members of the "admins" group in xymongroups.</div><div>    # Require group admins</div><div></Directory></div><div>RewriteEngine On</div><div>RewriteRule ^/xymon/bb.html /xymon/xymon.html [R=permanent,L]</div><div>RewriteRule ^/xymon/bb2.html /xymon/nongreen.html [R=permanent,L]</div><div>RewriteRule ^/xymon/bbnk.html /xymon/critical.html [R=permanent,L]</div><div>RewriteRule ^/xymon-cgi/bb-hist.sh /xymon-cgi/history.sh [R=permanent,L]</div><div>RewriteRule ^/xymon-cgi/bb-eventlog.sh /xymon-cgi/eventlog.sh [R=permanent,L]</div><div>RewriteRule ^/xymon-cgi/bb-rep.sh /xymon-cgi/report.sh [R=permanent,L]</div><div>RewriteRule ^/xymon-cgi/bb-replog.sh /xymon-cgi/reportlog.sh [R=permanent,L]</div><div>RewriteRule ^/xymon-cgi/bb-snapshot.sh /xymon-cgi/snapshot.sh [R=permanent,L]</div><div>RewriteRule ^/xymon-cgi/bb-findhost.sh /xymon-cgi/findhost.sh [R=permanent,L]</div><div>RewriteRule ^/xymon-cgi/bb-csvinfo.sh /xymon-cgi/csvinfo.sh [R=permanent,L]</div><div>RewriteRule ^/xymon-cgi/hobbitcolumn.sh /xymon-cgi/columndoc.sh [R=permanent,L]</div><div>RewriteRule ^/xymon-cgi/bb-datepage.sh /xymon-cgi/datepage.sh [R=permanent,L]</div><div>RewriteRule ^/xymon-cgi/hobbitgraph.sh /xymon-cgi/showgraph.sh [R=permanent,L]</div><div>RewriteRule ^/xymon-cgi/bb-hostsvc.sh /xymon-cgi/svcstatus.sh [R=permanent,L]</div><div>RewriteRule ^/xymon-cgi/bb-histlog.sh /xymon-cgi/historylog.sh [R=permanent,L]</div><div>RewriteRule ^/xymon-cgi/hobbit-confreport.sh /xymon-cgi/confreport.sh [R=permanent,L]</div><div>RewriteRule ^/xymon-cgi/hobbit-confreport-critical.sh /xymon-cgi/confreport-critical.sh [R=permanent,L]</div><div>RewriteRule ^/xymon-cgi/hobbit-nkview.sh /xymon-cgi/criticalview.sh [R=permanent,L]</div><div>RewriteRule ^/xymon-cgi/hobbit-certreport.sh /xymon-cgi/certreport.sh [R=permanent,L]</div><div>RewriteRule ^/xymon-cgi/hobbit-nongreen.sh /xymon-cgi/nongreen.sh [R=permanent,L]</div><div>RewriteRule ^/xymon-cgi/hobbit-hostgraphs.sh /xymon-cgi/hostgraphs.sh [R=permanent,L]</div><div>RewriteRule ^/xymon-cgi/hobbit-ghosts.sh /xymon-cgi/ghostlist.sh [R=permanent,L]</div><div>RewriteRule ^/xymon-cgi/hobbit-notifylog.sh /xymon-cgi/notifications.sh [R=permanent,L]</div><div>RewriteRule ^/xymon-cgi/hobbit-hostlist.sh /xymon-cgi/hostlist.sh [R=permanent,L]</div><div>RewriteRule ^/xymon-cgi/hobbit-perfdata.sh /xymon-cgi/perfdata.sh [R=permanent,L]</div><div>RewriteRule ^/xymon-cgi/hobbit-topchanges.sh /xymon-cgi/topchanges.sh [R=permanent,L]</div><div>RewriteRule ^/xymon-seccgi/bb-ack.sh /xymon-seccgi/acknowledge.sh [R=permanent,L]</div><div>RewriteRule ^/xymon-seccgi/hobbit-enadis.sh /xymon-seccgi/enadis.sh [R=permanent,L]</div><div>RewriteRule ^/xymon-seccgi/hobbit-nkedit.sh /xymon-seccgi/criticaleditor.sh [R=permanent,L]</div><div>RewriteRule ^/xymon-seccgi/hobbit-ackinfo.sh /xymon-seccgi/ackinfo.sh [R=permanent,L]</div><div>RewriteRule ^/xymon-seccgi/hobbit-useradm.sh /xymon-seccgi/useradm.sh [R=permanent,L]</div><div><br></div><div>I do not have any old config as I removed the old install</div><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<br>
If the layout is altered, I'd still think the ScriptAlias directive should<br>
be pointing to the correct location.<br>
<br>
<br>
Regards,<br>
<br>
-jc<br>
<br>
<br>
<br>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature">Asif Iqbal<br>PGP Key: 0xE62693C5 KeyServer: <a href="http://pgp.mit.edu" target="_blank">pgp.mit.edu</a><br>A: Because it messes up the order in which people normally read text.<br>Q: Why is top-posting such a bad thing?<br><br></div>
</div></div>