<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<TITLE>Message</TITLE>
<META content="MSHTML 6.00.2800.1400" name=GENERATOR></HEAD>
<BODY>
<DIV><SPAN class=578111702-03032004><FONT face=Verdana color=#0000ff
size=1><STRONG>Yeah, Thanks Gary. It has all been worked out by your advised
about</STRONG><FONT face="Times New Roman"
color=#000000><STRONG> </STRONG><FONT face=Verdana
color=#0000ff>UseCanonical<STRONG>Name directive
</STRONG></FONT></FONT><STRONG>previously. Basically not only I have to
put in the Alias, I also have to turn off the </STRONG>UseCanonical<STRONG>Name
directive so that Apache will accept that Alias
too</STRONG></FONT></SPAN></DIV>
<DIV><SPAN class=578111702-03032004><STRONG><FONT face=Verdana color=#0000ff
size=1></FONT></STRONG></SPAN> </DIV>
<DIV><SPAN class=578111702-03032004><STRONG><FONT face=Verdana color=#0000ff
size=1>ta</FONT></STRONG></SPAN></DIV>
<DIV><SPAN class=578111702-03032004><STRONG><FONT face=Verdana color=#0000ff
size=1></FONT></STRONG></SPAN> </DIV>
<DIV><SPAN class=578111702-03032004><STRONG><FONT face=Verdana color=#0000ff
size=1>Jack</FONT></STRONG></SPAN></DIV>
<DIV></DIV>
<DIV><FONT face=Tahoma size=2>-----Original Message-----<BR><B>From:</B> Cook,
Garry [mailto:GWCOOK@mactec.com] <BR><B>Sent:</B> Tuesday, 2 March 2004 1:42
AM<BR><B>To:</B> Yao, Jack;
nagios-users@lists.sourceforge.net<BR><B>Subject:</B> RE: [Nagios-users] URL
path config<BR><BR></DIV></FONT>
<BLOCKQUOTE dir=ltr style="MARGIN-RIGHT: 0px">
<DIV><SPAN class=987573914-01032004><FONT face=Arial color=#0000ff size=2>If
you include a trailing slash on the fakename in your alias, it's going to be
required by the server when you attempt to access it. Remove the second line,
restart httpd, and try again.</FONT></SPAN></DIV><!-- Converted from text/plain format -->
<P><FONT size=2>Garry W. Cook, CCNA<BR>Network Infrastructure
Manager<BR>MACTEC, Inc. - <A
href="http://www.mactec.com/">http://www.mactec.com/</A><BR>303.308.6228
(Office) - 720.220.1862 (Mobile) </FONT></P>
<BLOCKQUOTE dir=ltr
style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #0000ff 2px solid; MARGIN-RIGHT: 0px">
<DIV></DIV>
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left><FONT
face=Tahoma size=2>-----Original Message-----<BR><B>From:</B>
nagios-users-admin@lists.sourceforge.net
[mailto:nagios-users-admin@lists.sourceforge.net] <B>On Behalf Of </B>Yao,
Jack<BR><B>Sent:</B> Sunday, February 29, 2004 2:12 PM<BR><B>To:</B> Nagios
mail user list (nagios-users@lists.sourceforge.net)<BR><B>Subject:</B>
[Nagios-users] URL path config<BR><BR></FONT></DIV>
<DIV><SPAN class=359070421-29022004><FONT face=Verdana size=1>Hi all,
</FONT></SPAN></DIV>
<DIV><SPAN class=359070421-29022004><FONT face=Verdana
size=1></FONT></SPAN> </DIV>
<DIV><SPAN class=359070421-29022004><FONT face=Verdana size=1>By default
Nagios installed with the URL path "/nagios/" in the config.cfg. After
installed, I tried to eidt the pathit to be "/nagios" and
edit httpd.conf during this part below to add <FONT
color=#ff0000>"</FONT><SPAN class=156055323-26022004><SPAN
class=156055323-26022004><STRONG><FONT face=Verdana size=1><FONT
color=#ff0000>Alias /nagios /usr/local/nagios/share/</FONT>" on top of
the original one, so now it looks like
this:</FONT></STRONG></SPAN></SPAN></FONT></SPAN></DIV>
<DIV><SPAN class=359070421-29022004><FONT size=+0><SPAN
class=156055323-26022004><SPAN class=156055323-26022004>
<DIV><SPAN class=156055323-26022004><SPAN
class=156055323-26022004><STRONG><FONT face=Verdana color=#0000ff
size=1></FONT></STRONG></SPAN></SPAN> </DIV>
<DIV><SPAN class=156055323-26022004><SPAN
class=156055323-26022004><STRONG><FONT face=Verdana color=#ff0000
size=1>Alias /nagios
/usr/local/nagios/share/</FONT></STRONG></SPAN></SPAN></DIV>
<DIV><SPAN class=156055323-26022004><STRONG><FONT face=Verdana color=#0000ff
size=1>Alias /nagios/ /usr/local/nagios/share/<BR><Directory
"/usr/local/nagios/share/"><BR> Options None<BR>
AllowOverride AuthConfig<BR> Order allow,deny<BR> Allow from
all<BR></Directory></FONT></STRONG></SPAN></DIV>
<DIV><SPAN class=156055323-26022004><STRONG><FONT face=Verdana color=#0000ff
size=1></FONT></STRONG></SPAN> </DIV>
<DIV><SPAN class=156055323-26022004><STRONG><FONT face=Verdana color=#0000ff
size=1></FONT></STRONG></SPAN> </DIV>
<DIV><SPAN class=156055323-26022004><SPAN class=359070421-29022004><FONT
face=Verdana size=1>Then I restarted both Nagios service and httpd service,
the browser still complains that "page cannot be displayed" and it could not
find the new path [http://mydomain.com/nagios]. However , the
old path [http://mydomain.com/nagios/] still working as if there was no
change made to the config file.</FONT></SPAN></SPAN></DIV>
<DIV><SPAN class=156055323-26022004><SPAN class=359070421-29022004><FONT
face=Verdana size=1></FONT></SPAN></SPAN> </DIV>
<DIV><SPAN class=156055323-26022004><SPAN class=359070421-29022004><FONT
face=Verdana size=1></FONT></SPAN></SPAN> </DIV>
<DIV><SPAN class=156055323-26022004><SPAN class=359070421-29022004><FONT
face=Verdana size=1>Is there anything else I miss here in order to change
the URL path ?</FONT></SPAN></SPAN></DIV>
<DIV><SPAN class=156055323-26022004><SPAN class=359070421-29022004><FONT
face=Verdana size=1></FONT></SPAN></SPAN> </DIV>
<DIV><SPAN class=156055323-26022004><SPAN class=359070421-29022004><FONT
face=Verdana size=1></FONT></SPAN></SPAN> </DIV>
<DIV><SPAN class=156055323-26022004><SPAN class=359070421-29022004><FONT
face=Verdana size=1>thanks</FONT></SPAN></SPAN></DIV>
<DIV><SPAN class=156055323-26022004><SPAN class=359070421-29022004><FONT
face=Verdana size=1></FONT></SPAN></SPAN> </DIV>
<DIV><SPAN class=156055323-26022004><SPAN class=359070421-29022004><FONT
face=Verdana
size=1>Jack</FONT></SPAN></SPAN></DIV></SPAN></SPAN></FONT></SPAN><SPAN
class=359070421-29022004><SPAN class=156055323-26022004><STRONG><FONT
face=Verdana color=#0000ff size=1></FONT></STRONG></SPAN></SPAN></DIV>
<DIV><SPAN class=359070421-29022004><SPAN
class=156055323-26022004><STRONG><FONT face=Verdana color=#0000ff
size=1></FONT></STRONG></SPAN> </DIV>
<DIV></SPAN> </DIV></BLOCKQUOTE></BLOCKQUOTE></BODY></HTML>