<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#ffffff">
Yes that is what was meant, thanks for elaborating Paul.<br>
<br>
Jayanta, have you tried just accessing a simple /index.html in your
root web directory to make sure your apache user can access it? I
normally use Redhat or Fedora and keep the default directory at
/var/www/html for the web root and the file Xymon provided placed as
Paul mentions sorts out allowing apache access to the subdirectories
which in my case are installed under /usr/local which apache has
read on.<br>
<br>
Regards,<br>
Craig<br>
<br>
On 19/01/11 14:45, Root, Paul wrote:
<blockquote
cite="mid:2685F464D7BC7C4DA88845C97AEB5F533A9AEA379E@qtomaexmbm22.AD.QINTRA.COM"
type="cite">
<meta http-equiv="Content-Type" content="text/html;
charset=ISO-8859-1">
<meta content="MSHTML 6.00.6000.17093" name="GENERATOR">
<div dir="ltr" align="left"><span class="460254014-19012011"><font
size="2" face="Arial" color="#0000ff">No, that's not what
was stated.</font></span></div>
<div dir="ltr" align="left"><span class="460254014-19012011"></span> </div>
<div dir="ltr" align="left"><span class="460254014-19012011"><font
size="2" face="Arial" color="#0000ff">You need the original
httpd.conf file. It lives in /etc/httpd/conf</font></span></div>
<div dir="ltr" align="left"><span class="460254014-19012011"><font
size="2" face="Arial" color="#0000ff">Then you put the
hobbit-apache.conf file, named as is, into
/etc/httpd/conf.d. This is a directory for additional config
files.
</font></span></div>
<div dir="ltr" align="left"><span class="460254014-19012011"></span> </div>
<div dir="ltr" align="left"><span class="460254014-19012011"><font
size="2" face="Arial" color="#0000ff">I still think your
problem is file and directory ownership. Your web directory,
which I'm going to guess is
</font></span></div>
<div dir="ltr" align="left"><span class="460254014-19012011"><font
size="2" face="Arial" color="#0000ff">/home/hobbit/server/www
is owned by the xymon or hobbit user. Next your web server
is being run by apache, and apache has no permissions to get
to /home/hobbit/server/www.</font></span></div>
<div dir="ltr" align="left"><span class="460254014-19012011"></span> </div>
<div dir="ltr" align="left"><span class="460254014-19012011"><font
size="2" face="Arial" color="#0000ff">You need to do one of
a couple of things. The best of which is to get apache and
xymon users in the same group and have the web directory and
it's files in that group. This is basic Unix admin stuff,
not an issue with Xymon.</font></span></div>
<div> </div>
<!-- Converted from text/plain format -->
<p><font size="2">Paul Root<br>
Lead Internet Systems Eng<br>
Qwest Network Services<br>
<br>
</font></p>
<div> </div>
<br>
<blockquote style="margin-right: 0px;">
<div class="OutlookMessageHeader" dir="ltr" lang="en-us"
align="left">
<hr tabindex="-1">
<font size="2" face="Tahoma"><b>From:</b> Jayanta Kundu
[<a class="moz-txt-link-freetext" href="mailto:jayantak007@gmail.com">mailto:jayantak007@gmail.com</a>]
<br>
<b>Sent:</b> Wednesday, January 19, 2011 8:29 AM<br>
<b>To:</b> <a class="moz-txt-link-abbreviated" href="mailto:xymon@xymon.com">xymon@xymon.com</a><br>
<b>Subject:</b> Re: [xymon] Forbidden : You don't have
permission to access /xymon/index.html on this server.<br>
</font><br>
</div>
<div>Hi Craig,</div>
<div> </div>
<div>If i put the whole file(hobbit-apache.conf) in the
/etc/httpd/conf/ path and rename it into httpd.conf and
restart the service httpd then its getting failed.</div>
<div> </div>
<div>With Regards,</div>
<div>Jayanta.<br>
<br>
</div>
<div class="gmail_quote">On Wed, Jan 19, 2011 at 7:18 PM,
Whilding, Craig <span dir="ltr">
<<a moz-do-not-send="true"
href="mailto:Craig_Whilding@mentor.com">Craig_Whilding@mentor.com</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="padding-left: 1ex;
margin: 0px 0px 0px 0.8ex; border-left: 1px solid rgb(204,
204, 204);">
<div><br>
<p><font size="2">Just put the whole file in the
httpd/conf.d directory and then restart apache, its
easier to update it in the future if you keep the file
separate.<br>
<br>
Regards,<br>
<font color="#888888">Craig</font> </font></p>
<div class="im"><font size="2"><br>
<br>
-----Original Message-----<br>
From: Jayanta Kundu [<a moz-do-not-send="true"
href="mailto:jayantak007@gmail.com" target="_blank">mailto:jayantak007@gmail.com</a>]<br>
Sent: Wed 19/01/2011 13:02<br>
To: <a moz-do-not-send="true"
href="mailto:xymon@xymon.com" target="_blank">xymon@xymon.com</a><br>
Subject: Re: [xymon] Forbidden : You don't have
permission to access /xymon/index.html on this server.<br>
<br>
Hi Henrik,<br>
<br>
<br>
I already appended following:<br>
<br>
#cat /home/xymon/server/etc/hobbit-apache.conf
>> /etc/httpd/conf/httpd.conf<br>
<br>
After that I restart apache.<br>
Still i am facing following error.<br>
<br>
With Regards,<br>
Jayanta.<br>
<br>
On Wed, Jan 19, 2011 at 6:20 PM, Henrik Størner <<a
moz-do-not-send="true" href="mailto:henrik@hswn.dk"
target="_blank">henrik@hswn.dk</a>> wrote:<br>
<br>
<br>
</font></div>
<div class="im"><font size="2"> In <<a
moz-do-not-send="true"
href="mailto:AANLkTinz%2BoMdOF9afYTURQE7cje6x27XxsDNpRAVpvnC@mail.gmail.com"
target="_blank">AANLkTinz+oMdOF9afYTURQE7cje6x27XxsDNpRAVpvnC@mail.gmail.com</a>
<<a moz-do-not-send="true"
href="mailto:AANLkTinz%2BoMdOF9afYTURQE7cje6x27XxsDNpRAVpvnC@mail.gmail.com"
target="_blank">mailto:AANLkTinz%2BoMdOF9afYTURQE7cje6x27XxsDNpRAVpvnC@mail.gmail.com</a>>
> Jayanta Kundu <<a moz-do-not-send="true"
href="mailto:jayantak007@gmail.com" target="_blank">jayantak007@gmail.com</a>>
writes:<br>
<br>
>I install xymon collector server and agent
in the same machine. Apache<br>
>server is running in the same server.<br>
<br>
<br>
>I am getting following error:<br>
<br>
>*Forbidden*<br>
<br>
>You don't have permission to access
/xymon/index.html on this server.<br>
<br>
> ------------------------------<br>
<br>
<br>
Make sure you have configured Apache with the
configuration<br>
provided in the
$XYMONHOME/etc/xymon-apache.conf, and done a<br>
reload of the Apache configuration.<br>
<br>
<br>
Regards,<br>
Henrik<br>
<br>
<br>
To unsubscribe from the xymon list, send an
e-mail to<br>
<a moz-do-not-send="true"
href="mailto:xymon-unsubscribe@xymon.com"
target="_blank">xymon-unsubscribe@xymon.com</a><br>
<br>
<br>
<br>
<br>
<br>
<br>
</font></div>
</div>
</blockquote>
</div>
<br>
</blockquote>
<br>
<hr>
<font size="1" face="Arial" color="Gray">This communication is the
property of Qwest and may contain confidential or<br>
privileged information. Unauthorized use of this communication
is strictly<br>
prohibited and may be unlawful. If you have received this
communication<br>
in error, please immediately notify the sender by reply e-mail
and destroy<br>
all copies of the communication and any attachments.<br>
</font>
</blockquote>
<br>
</body>
</html>