Return-Path: Delivered-To: apmail-httpd-users-archive@www.apache.org Received: (qmail 59034 invoked from network); 19 Jun 2010 13:52:57 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 19 Jun 2010 13:52:57 -0000 Received: (qmail 34793 invoked by uid 500); 19 Jun 2010 13:52:53 -0000 Delivered-To: apmail-httpd-users-archive@httpd.apache.org Received: (qmail 34721 invoked by uid 500); 19 Jun 2010 13:52:52 -0000 Mailing-List: contact users-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: users@httpd.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list users@httpd.apache.org Received: (qmail 34713 invoked by uid 99); 19 Jun 2010 13:52:52 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 19 Jun 2010 13:52:52 +0000 X-ASF-Spam-Status: No, hits=2.9 required=10.0 tests=HTML_MESSAGE,NORMAL_HTTP_TO_IP,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [150.101.137.145] (HELO ipmail06.adl6.internode.on.net) (150.101.137.145) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 19 Jun 2010 13:52:45 +0000 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AvMKAMtlHEx20Q1h/2dsb2JhbACBQoFagnSMZothQGwGiByoN4MVAY01BIJ1AQmBLHCLbA Received: from ppp118-209-13-97.lns20.mel4.internode.on.net (HELO mailserver.chadmail.com) ([118.209.13.97]) by ipmail06.adl6.internode.on.net with ESMTP; 19 Jun 2010 23:22:20 +0930 DomainKey-Signature: a=rsa-sha1; s=MDaemon; d=chadmail.com; c=simple; q=dns; h=message-id:from; b=5EVWSty7T4aIMhExqtaatquecgZaWBExCLZL8PnpGVvRl1kMoreAWRPKnbfz JZMPwZLUFQQ3oFAz/gCXUILslfkT/H72B18Kk6H3js9wTQExH0qxX/2SQ 6DwQNGi44/KLVYqIn39O7gHeNhJ5nm5IlnAVPmtObbqnRNbKCGxMjQ=; X-MDAV-Processed: mailserver.chadmail.com, Sat, 19 Jun 2010 23:50:17 +1000 Received: from [192.168.0.40] by chadmail.com (MDaemon PRO v10.1.0) with ESMTP id md50000097431.msg for ; Sat, 19 Jun 2010 23:50:17 +1000 X-Spam-Processed: mailserver.chadmail.com, Sat, 19 Jun 2010 23:50:17 +1000 (not processed: message from trusted or authenticated source) X-Authenticated-Sender: ninja@chadmail.com X-HashCash: 1:20:100619:md50000097431::4ZH4MiKTWyQ+hCCV:00005PdD X-Return-Path: ninja@chadmail.com X-Envelope-From: ninja@chadmail.com X-MDaemon-Deliver-To: users@httpd.apache.org Message-Id: <4F7C13A5-8A24-4296-B340-621F8CB0C65A@chadmail.com> From: Ninja To: "users@httpd.apache.org" Content-Type: multipart/alternative; boundary=Apple-Mail-4-148195185 Content-Transfer-Encoding: 7bit X-Mailer: iPad Mail (7B367) Mime-Version: 1.0 (iPad Mail 7B367) Date: Sat, 19 Jun 2010 23:53:41 +1000 Subject: [users@httpd] Can not access one page from other than localhost - but can access another ok from lan...what's up? --Apple-Mail-4-148195185 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Hi folks, I have just installed nagios and ninja (monitoring apps) on CentOS = 5.4 and all appears to have gone ok, however I have an issue when I try = to log in from the LAN, ie not the CenOS machine(localhost). =20 On the local host, I can open a browser and go to = http://192.168.0.11/ninja or http://localhost/ninjaI enter my userid and = pass and I am in. No problems. =20 However, on another machine on the LAN if I go to = http://192.168.0.11/ninja it = loadshttp://192.168.0.11/ninja/index.php/default/show_login, I enter my = (same) userid and pass and it just reloads the login screen. No = message,no error, but no login! =20 The odd thing is that I can log into http://192.168.0.11/nagios from the = LAN no problems. But not to /ninja, that only works on the localhost = ...I need your help to track the cause.=20 I looked in the log files and do not see any errors re. the access = issue. =20 The /etc/hosts file contains the IP addresses of the LAN machines and = the /etc/httpd/conf.d/ninja.conf file is as follows... LoadModule alias_module modules/mod_alias.so =20 Alias /ninja /usr/local/nagios/addons/ninja Order allow,deny Allow from all DirectoryIndex index.php =20 And the /etc/httpd/conf.d/nagios.conf # SAMPLE CONFIG SNIPPETS FOR APACHE WEB SERVER # Last Modified: 11-26-2005 # # This file contains examples of entries that need # to be incorporated into your Apache web server # configuration file. Customize the paths, etc. as # needed to fit your system. =20 ScriptAlias /nagios/cgi-bin "/usr/local/nagios/sbin" =20 # SSLRequireSSL Options ExecCGI AllowOverride None Order allow,deny Allow from all # Order deny,allow # Deny from all # Allow from 127.0.0.1 AuthName "Nagios Access" AuthType Basic AuthUserFile /usr/local/nagios/etc/htpasswd.users Require valid-user =20 Alias /nagios "/usr/local/nagios/share" =20 # SSLRequireSSL Options None AllowOverride None Order allow,deny Allow from all # Order deny,allow # Deny from all # Allow from 127.0.0.1 AuthName "Nagios Access" AuthType Basic AuthUserFile /usr/local/nagios/etc/htpasswd.users Require valid-user =20 I do not have a .htaccess file as far as I know. The above is all on a = fresh install of CentOS 5.4. =20 Any and all help appreciated. =20 =20 _______________________________________________ --Apple-Mail-4-148195185 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: quoted-printable

Hi folks,

   I have just installed nagios and = ninja (monitoring apps) on CentOS 5.4 and all appears to have gone ok, = however I have an issue when I try to log in from the LAN, ie not the = CenOS machine(localhost).

On the local host, = I can open a browser and go to http://192.168.0.11/ninja = or http://localhost/ninjaI enter my = userid and pass and I am in. No problems.

 

http://192.168.0.11/ninja = it loadshttp://192= .168.0.11/ninja/index.php/default/show_login,  I enter my = (same) userid and pass and it just reloads the login screen. No = message,no error, but no login!

The odd thing is that I can = log into http://192.168.0.11/nagios&nbs= p;from the LAN no problems. But not to /ninja, that only works on the = localhost ...I need your help to track the cause. 


I looked in = the log files and do not see any errors re. the access = issue.

 

The /etc/hosts file contains the IP addresses of = the LAN machines and the /etc/httpd/conf.d/ninja.conf file is as = follows...

<IfModule = !mod_alias.c>

Alias /ninja = /usr/local/nagios/addons/ninja

<Directory = "/usr/local/nagios/addons/ninja">

And the = /etc/httpd/conf.d/nagios.conf

# SAMPLE CONFIG SNIPPETS = FOR APACHE WEB SERVER

# Last Modified: = 11-26-2005

#

# = This file contains examples of entries that need

# to = be incorporated into your Apache web server

# = configuration file.  Customize the paths, etc. = as

# needed to fit your system.

ScriptAlias /nagios/cgi-bin = "/usr/local/nagios/sbin"

<Directory = "/usr/local/nagios/sbin">

#  = SSLRequireSSL

   Options = ExecCGI

   AllowOverride = None

   Order = allow,deny

   Allow from = all

#  Order = deny,allow

#  Deny from = all

#  Allow from = 127.0.0.1

   AuthName "Nagios = Access"

   AuthType = Basic

   AuthUserFile = /usr/local/nagios/etc/htpasswd.users

Alias /nagios = "/usr/local/nagios/share"

<Directory = "/usr/local/nagios/share">

#  = SSLRequireSSL

   Options = None

   AllowOverride = None

   Order = allow,deny

   Allow from = all

#  Order = deny,allow

#  Deny from = all

#  Allow from = 127.0.0.1

   AuthName "Nagios = Access"

   AuthType = Basic

   AuthUserFile = /usr/local/nagios/etc/htpasswd.users

I do not have a = .htaccess file as far as I know.  The above is all on a fresh = install of CentOS 5.4.

Any and all help = appreciated.