Help with 1.1 setup

Jason Martin jhmartin at toger.us
Sun Nov 9 01:58:35 CET 2003


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

What are the permissions on the .htaccess file? The webserver process must 
be able to read it.

- -Jason Martin

On Sat, 8 Nov 2003, Spence, Lance (CCI-Hampton Roads) wrote:

> Hello, I'm a new user of V1.1 of Nagios. I have installed v1.1 on Redhat 9. I am having a problem with the authentication part. When I bring up Mozilla and enter http://cyrebro/nagios/ I recieve:
> 
> "Server error! - The server encountered an internal error and was unable to complete your request. Either the server is overloaded or there was an error in  a CGI script. Error 500". 
> 
> I tested everything after completing the part in the docs titled "Setting up the web interface" and I received the Nagios main screen just fine at that point. The problem didn't start until after I completed the section "Configuring Web Authentication"
> 
> Following the docs my http.conf contains:
> ScriptAlias /nagios/cgi-bin/ /usr/local/nagios/sbin/
> <Directory /usr/local/nagios/sbin>
>  AllowOverride AuthConfig
>  order allow,deny
>  allow from all
> </Directory>
> 
> Alias /nagios/ /usr/local/nagios/share/
> <Directory /usr/local/nagios/share>
>  AllowOverride AuthConfig
>  order allow, deny
>  allow from all
> </Directory>
> 
> I also have a .htaccess file in /usr/local/nagios/sbin and /usr/local/nagios/share which reads:
> 
> AuthName "Nagios Access"
> AuthType Basic
> AuthUserFile /usr/local/nagios/etc/htpasswd.users
> require valid-user
> 
> I've run the htpasswd command and added nagiosadmin and another user. Finally my cgi.cfg file contains: use_authentication=1.
> 
> I am stuck at this point can someone please help me?
> 
> 
> 
> -------------------------------------------------------
> This SF.Net email sponsored by: ApacheCon 2003,
> 16-19 November in Las Vegas. Learn firsthand the latest
> developments in Apache, PHP, Perl, XML, Java, MySQL,
> WebDAV, and more! http://www.apachecon.com/
> _______________________________________________
> 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
> 
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.3.3 (GNU/Linux)
Comment: pgpenvelope 2.10.2 - http://pgpenvelope.sourceforge.net/

iD8DBQE/rZE/l2ODWuqVSBMRAhLUAJ4329TdH1RpetYgN3ucQPp5li259gCcCqGr
RaB5o2OiwPErRseMVan0bx4=
=uAx/
-----END PGP SIGNATURE-----


-------------------------------------------------------
This SF.Net email sponsored by: ApacheCon 2003,
16-19 November in Las Vegas. Learn firsthand the latest
developments in Apache, PHP, Perl, XML, Java, MySQL,
WebDAV, and more! http://www.apachecon.com/
_______________________________________________
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





More information about the Users mailing list