<html>
<head>
<meta name="Microsoft Theme 2.00" content="Currency.htm 011">
<meta http-equiv=Content-Type content="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 10 (filtered)">
<style>
<!--
/* Font Definitions */
@font-face
{font-family:Courier;
panose-1:2 7 4 9 2 2 5 2 4 4;}
@font-face
{font-family:Tahoma;
panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:10.0pt;
font-family:"Times New Roman";
font-weight:bold;}
a:link, span.MsoHyperlink
{color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{color:purple;
text-decoration:underline;}
p
{margin-right:0in;
margin-left:0in;
font-size:12.0pt;
font-family:"Times New Roman";}
span.EmailStyle17
{font-family:Arial;
color:windowtext;
font-weight:normal;
font-style:normal;
text-decoration:none none;}
p.Default, li.Default, div.Default
{margin:0in;
margin-bottom:.0001pt;
text-autospace:none;
font-size:12.0pt;
font-family:Arial;
color:black;}
@page Section1
{size:8.5in 11.0in;
margin:1.0in 1.25in 1.0in 1.25in;}
div.Section1
{page:Section1;}
-->
</style>
</head>
<body lang=EN-US link=blue vlink=purple>
<div class=Section1>
<p class=MsoNormal><b><font size=3 face="Times New Roman"><span
style='font-size:12.0pt'> </span></font></b></p>
<p class=Default><b><u><font size=3 color=black face="Times New Roman"><span
style='font-size:12.0pt;font-family:"Times New Roman";font-weight:bold'>Configuring
Web Server Authentication</span></font></u></b></p>
<p class=Default><b><font size=3 color=black face="Times New Roman"><span
style='font-size:12.0pt;font-family:"Times New Roman";font-weight:bold'> </span></font></b></p>
<p class=Default><b><font size=3 color=black face="Times New Roman"><span
style='font-size:12.0pt;font-family:"Times New Roman";font-weight:bold'> </span></font></b></p>
<p class=Default><b><font size=3 color=black face="Times New Roman"><span
style='font-size:12.0pt;font-family:"Times New Roman";font-weight:bold'>The
second step is to create a file named </span></font></b><b><font
face="Times New Roman"><span style='font-family:"Times New Roman";font-weight:
bold'>.htaccess </span></font></b><b><font face="Times New Roman"><span
style='font-family:"Times New Roman";font-weight:bold'>in the root your CGI
directory </span></font></b></p>
<p class=MsoNormal style='text-autospace:none'><b><font size=3 color=black
face="Times New Roman"><span style='font-size:12.0pt;color:black'> </span></font></b></p>
<p class=MsoNormal style='text-autospace:none'><b><font size=3 color=black
face="Times New Roman"><span style='font-size:12.0pt;color:black'>AuthName
"Nagios Access"</span></font></b></p>
<p class=MsoNormal style='text-autospace:none'><b><font size=3 color=black
face="Times New Roman"><span style='font-size:12.0pt;color:black'>AuthType
Basic</span></font></b></p>
<p class=MsoNormal style='text-autospace:none'><b><font size=3 color=black
face="Times New Roman"><span style='font-size:12.0pt;color:black'>AuthUserFile
/usr/local/nagios/etc/htpasswd.users</span></font></b></p>
<p class=MsoNormal style='text-autospace:none'><b><font size=3 color=black
face="Times New Roman"><span style='font-size:12.0pt;color:black'>require
valid-user</span></font></b></p>
<p class=Default><b><font size=3 color=black face="Times New Roman"><span
style='font-size:12.0pt;font-family:"Times New Roman";font-weight:bold'> </span></font></b></p>
<p class=MsoNormal style='text-autospace:none'><b><font size=3 color=black
face="Times New Roman"><span style='font-size:12.0pt;color:black'>I have
created .htaccess file separately under /usr/local/nagios/sbin,</span></font></b></p>
<p class=MsoNormal style='text-autospace:none'><b><font size=3 color=black
face="Times New Roman"><span style='font-size:12.0pt;color:black'>/usr/local/nagios/share
and /usr/local/apache/bin/cgi-bin and copied the above stuff.</span></font></b></p>
<p class=MsoNormal style='text-autospace:none'><b><font size=3 color=black
face="Times New Roman"><span style='font-size:12.0pt;color:black'> </span></font></b></p>
<p class=MsoNormal style='text-autospace:none'><b><font size=3 color=black
face="Times New Roman"><span style='font-size:12.0pt;color:black'>When tried to
run the script, I got a common same error.</span></font></b></p>
<p class=MsoNormal style='text-autospace:none'><b><font size=3 color=black
face="Times New Roman"><span style='font-size:12.0pt;color:black'> </span></font></b></p>
<p class=MsoNormal style='text-autospace:none'><b><font size=3 color=black
face="Times New Roman"><span style='font-size:12.0pt;color:black'>What I have noticed
is there is no htpasswd.users file under /usr/local/nagios/etc.</span></font></b></p>
<p class=MsoNormal style='text-autospace:none'><b><font size=3 color=black
face="Times New Roman"><span style='font-size:12.0pt;color:black'> </span></font></b></p>
<p class=MsoNormal style='text-autospace:none'><b><font size=3 color=black
face="Times New Roman"><span style='font-size:12.0pt;color:black'>Your help is
appreciated.</span></font></b></p>
<p class=MsoNormal style='text-autospace:none'><b><font size=3 color=black
face="Times New Roman"><span style='font-size:12.0pt;color:black'> </span></font></b></p>
<p class=MsoNormal style='text-autospace:none'><b><font size=3 color=black
face="Times New Roman"><span style='font-size:12.0pt;color:black'>Thanks</span></font></b></p>
<p class=MsoNormal style='text-autospace:none'><b><font size=3 color=black
face="Times New Roman"><span style='font-size:12.0pt;color:black'> </span></font></b></p>
<p class=MsoNormal style='text-autospace:none'><b><font size=3 color=black
face="Times New Roman"><span style='font-size:12.0pt;color:black'>Rao</span></font></b></p>
<p class=MsoNormal style='text-autospace:none'><b><font size=3 color=black
face=Courier><span style='font-size:12.0pt;font-family:Courier;color:black'> </span></font></b></p>
<p class=MsoNormal style='text-autospace:none'><b><font size=2 color=black
face=Courier><span style='font-size:10.0pt;font-family:Courier;color:black;
font-weight:normal'> </span></font></b></p>
<p class=MsoNormal><b><font size=3 color=black face=Arial><span
style='font-size:12.0pt;font-family:Arial;color:black;font-weight:normal'> </span></font></b></p>
<p style='margin:0in;margin-bottom:.0001pt'><font size=3 color="#3366ff"
face=Tahoma><span style='font-size:12.0pt;font-family:Tahoma;color:#3366FF'> </span></font></p>
<p class=MsoNormal><b><font size=2 face="Times New Roman"><span
style='font-size:10.0pt'> </span></font></b></p>
</div>
</body>
</html>