Apache viewing problem

Ian Farr ianf at Oceanwide.com
Mon Apr 28 16:13:07 CEST 2003


I am using the same config - and this is what I have in my httpd.conf file:

ScriptAlias /nagios/cgi-bin/ "/d0/nagios/sbin/"
<Directory "/d0/nagios/sbin/">
        AllowOverride AuthConfig
        Options ExecCGI
        Order allow,deny
        Allow from all
</Directory>

Alias /nagios "/d0/nagios/share"
<Directory "/d0/nagios/share">
        Options None
        AllowOverride AuthConfig
        Order allow,deny
        Allow from all
</Directory>

for the answer to this question:
>Furthermore when i try to start the apache server it says: httpd could not
determine the servers fully >qualified domain name, using 127.0.0.1 for
Servername.

This is usually a problem with the server not being able to resolve it's
name - it can usually be solved by making sure that there are dns servers in
the /etc/resolv.conf, or by placing the servers name (found in the
/etc/sysconfig/network file) in the /etc/hosts file. Play around with the
name resolution settings in the resolv.conf and hosts file - restarting
httpd server (/etc/rc.d/init.d/httpd restart) and eventually you will be
able to start it - I had the same problems with the default install of
redhat 8 - and that is how I got the web services up and running - NOTE: I
had more luck with the resolv.conf file and making sure that there were
valid DNS servers etc..

Hope this helps..

____________________
Ian Farr
Director of Network Infrastructure
Oceanwide.com
514-289-9090 ext 234



-----Original Message-----
From: Raj Mudhar [mailto:Raj.Mudhar at nottingham.ac.uk]
Sent: Monday, April 28, 2003 6:14 AM
To: nagios-users at lists.sourceforge.net
Subject: [Nagios-users] Apache viewing problem


Hi,

A few questions to ask.. I have followed th nagios book with default
directories.  Using RH8

Now I entered the Alias in the alias bit as shown in the documentation and
the Scriptalias in the Scriptalias section as shown in the book.  I added
them both directly under the commented headings.

Now do i need to use quotes or not.  ie ScriptAlias /nagios/cgi-bin
/usr/local/nagios/sbin/ or should it be
ScriptAlias /nagios/cgi-bin   "/usr/local/nagios/sbin/"

Furthermore when i try to start the apache server it says: httpd could not
determine the servers fully qualified domain name, using 127.0.0.1 for
Servername.

Anyway i point my browser at http://127.0.0.1/nagios/  and i get forbidden
access!  My actual ip is 128.243.101.47. 

What the hell is going on?




-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting
any issue. 
::: Messages without supporting info will risk being sent to /dev/null
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20030428/a6a67b38/attachment.html>


More information about the Users mailing list