It shows:
egrep: /etc/httpd/*.conf: No such file or directory /etc/httpd/conf.d/squid.conf:ScriptAlias /Squid/cgi-bin/cachemgr.cgi /usr/lib/squid/cachemgr.cgi /etc/httpd/conf.d/xymon-apache.conf: Options Indexes FollowSymLinks Includes MultiViews /etc/httpd/conf.d/xymon-apache.conf:ScriptAlias /opt/xymon/xymon-cgi/ "/opt/xymon/cgi-bin/" /etc/httpd/conf.d/xymon-apache.conf: Options ExecCGI Includes /etc/httpd/conf.d/xymon-apache.conf:ScriptAlias /opt/xymon/xymon-seccgi/ "/opt/xymon/cgi-secure/" /etc/httpd/conf.d/xymon-apache.conf: Options ExecCGI Includes /etc/httpd/conf/httpd.conf:LoadModule authn_alias_module modules/mod_authn_alias.so /etc/httpd/conf/httpd.conf:LoadModule include_module modules/mod_include.so /etc/httpd/conf/httpd.conf:LoadModule vhost_alias_module modules/mod_vhost_alias.so /etc/httpd/conf/httpd.conf:LoadModule alias_module modules/mod_alias.so /etc/httpd/conf/httpd.conf:ScriptAlias /cgi-bin/ "/var/www/cgi-bin/" /etc/httpd/conf/httpd.conf:AddOutputFilter INCLUDES .shtml /etc/httpd/conf/httpd.conf:<IfModule mod_include.c> /etc/httpd/conf/httpd.conf: Options IncludesNoExec /etc/httpd/conf/httpd.conf: AddOutputFilter Includes html /etc/httpd/conf/httpd.conf: Options Indexes FollowSymLinks Includes MultiViews /etc/httpd/conf/httpd.conf:ScriptAlias /opt/xymon/xymon-cgi/ "/opt/xymon/cgi-bin/" /etc/httpd/conf/httpd.conf: Options ExecCGI Includes /etc/httpd/conf/httpd.conf:ScriptAlias /opt/xymon/xymon-seccgi/ "/opt/xymon/cgi-secure/" /etc/httpd/conf/httpd.conf: Options ExecCGI Includes
On October 14, 2011 at 2:58 AM Jeremy Laidman <jlaidman at rebel-it.com.au> wrote:
On Tue, Oct 11, 2011 at 8:55 PM, Yanni <y.goudetsidis at mail.cryst.bbk.ac.uk> wrote:
Why is it looking in /var/www/html/xymon where there is indeed no such file (xymon). It should look inside
/opt/xymon/server/www/. I am not sure but I think the problem is somewhere in apache.
Yes, this looks like an Apache "Alias" problem. What does this show:
egrep -i '^[^#].*(include|alias)' /etc/httpd/*.conf /etc/httpd/*/*.conf
Cheers Jeremy