Login error from remote computers

Hi there
I installed Nagios and it working properly for the most part but I have a strange problem that I can not figure out.
I can log on via host properly but I can only log on from some computer or laptops remotely.

everything was compile and installed remotely because the server miles and miles away. and basically it just a box anyways with out a head…

my problem seems to be. when i enter the internal network IP 172.16.0.1/nagios I get a log in box but once i enter the password it get 404 error because it tries to display the page locally Ie 127.0.0.1/nagios . which does not exist… on some computers I just need login and save the password , then enter the address again and then it will login and i will not have problems again. but on most it does not work it will ( especially based windows computers)continue to display the same error page over and over again 127.0.0.1/nagios does not exist error… and it the same for external connection 204.112.X.X/nagios

it seems to be in the login section but I just can not find where to edit the mistake I have. would some know where I went wrong ???

thank you for your time
sash

if th browser dipslays

in the URL bar it is a “./configure” problem.

Reconfigure with standard options and recompile.

thank-you for your reply… I just used the base configure that listed in the howto’s

./configure --with-command-group=nagcmd

but I will look through the ./configure script to see if there is more info with in it that might provide me help…
I hope this is were the problem is but we will see
thank you for your time…

sash

[code]For better control, use the options below.

Fine tuning of the installation directories:
–bindir=DIR user executables [EPREFIX/bin]
–sbindir=DIR system admin executables [EPREFIX/sbin]
–libexecdir=DIR program executables [EPREFIX/libexec]
–datadir=DIR read-only architecture-independent data [PREFIX/share]
–sysconfdir=DIR read-only single-machine data [PREFIX/etc]
–sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
–localstatedir=DIR modifiable single-machine data [PREFIX/var]
–libdir=DIR object code libraries [EPREFIX/lib]
–includedir=DIR C header files [PREFIX/include]
–oldincludedir=DIR C header files for non-gcc [/usr/include]
–infodir=DIR info documentation [PREFIX/info]
–mandir=DIR man documentation [PREFIX/man]
_ACEOF

cat <<_ACEOF

System types:
–build=BUILD configure for building on BUILD [guessed]
–host=HOST cross-compile to build programs to run on HOST [BUILD]
_ACEOF
fi

if test -n “$ac_init_help”; then

cat <<_ACEOF

Optional Features:
–disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
–enable-FEATURE=ARG] include FEATURE [ARG=yes]
–disable-statusmap=disables compilation of statusmap CGI
–disable-statuswrl=disables compilation of statuswrl (VRML) CGI
–enable-nanosleep enables use of nanosleep (instead sleep) in event timing
–enable-event-broker enables integration of event broker routines
–enable-embedded-perl will enable embedded Perl interpreter
–enable-cygwin enables building under the CYGWIN environment
–enable-libtap Enable built-in libtap for unit-testing (default:
no).

Optional Packages:
–with-PACKAGE=ARG] use PACKAGE [ARG=yes]
–without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
–with-nagios-user= sets user name to run nagios
–with-nagios-group= sets group name to run nagios
–with-command-user= sets user name for command access
–with-command-group= sets group name for command access
–with-mail=<path_to_mail> sets path to equivalent program to mail
–with-httpd-conf=<path_to_conf> sets path to Apache conf.d directory
–with-checkresult-dir= sets path to check results spool directory
–with-temp-dir= sets path to temp directory
–with-init-dir= sets directory to place init script into
–with-lockfile= sets path and file name for lock file
–with-gd-lib=DIR sets location of the gd library
–with-gd-inc=DIR sets location of the gd include files
–with-cgiurl= sets URL for cgi programs (do not use a trailing slash)
–with-htmurl= sets URL for public html
–with-perlcache turns on cacheing of internally compiled Perl scripts
[/code]

Hi there i guess from the Configure script I need to set it like this
./configure --with-command-group=nagcmd --with-htmurl=http://172.16.0.1
or
./configure --with-command-group=nagcmd --with-htmurl=172.16.0.1

humm I wish documentations was a bit better for nagios … it pretty hard to figure stuff out, sometimes , because it changed greatly from previous version to the latest… and what you find on the web is alot of times outdated and does not work any more…

but thank you for the point in the right direction

sash

oh well that did not work still the same all that did was change the dir of install… oh well back to searching I guess… thanks for you help anyways

oh now that a silly problem. figured it out by chance… it turns out to be a simple web translation problem with in nagios

if I type 172.16.0.1/nagios I get the user/password popup for Nagios but then it fails with 404 because it looks for 127.0.0.1/nagios/

but if I type 172.16.0.1/nagios/ it logs in from ll machines with out problems… with out the the final “/” only some browsers and nigios know how to finish the translation…

duh… after inserting the password it should do all on it’s own… still sounds strange, but happy you got it.