[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [xymon] Forbidden : You don't have permission to access /xymon/index.html on this server.
- To: xymon (at) xymon.com
- Subject: Re: [xymon] Forbidden : You don't have permission to access /xymon/index.html on this server.
- From: Jayanta Kundu <jayantak007 (at) gmail.com>
- Date: Wed, 19 Jan 2011 21:53:43 +0530
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type; bh=u7drCkQR2lY7OhjafpjoNb7kVZEhrPtC9wjlhEx6mOY=; b=bxMHVVbCQj6TfFDJ9iXEhxvvaQJjRsquSLlrvTgK1su6S+C8d2W31Bec8JCvUmrF6O YJZ+1mtHEUc72kRjZtCcUVkqzLDKbo0y+ypdDsP3XhBlCpG0c25096rt0EVDhS0DGmxd IoxrNC3k2kw4b2Ylh/6/bmYocp+XtVbh6J2B4=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=bwRvztP6dgrJ3Hq5Dac7xNJA6CjPb0gkTWpcnsXLZH/KicClb/ykXo9QM3EPExoPpF yg+fTlARC1M1raDlhF4rn/RvJdgOHVVPwoNoKrjpDgh4ohdiwiVl6Cd+LE0bpt9RyAz8 7VHDw9aPy3vJdMryGgfwSI3AJ5GOf09AyXXL0=
- References: <AANLkTinz+oMdOF9afYTURQE7cje6x27XxsDNpRAVpvnC (at) mail.gmail.com> <ih6mme$oto$1 (at) voodoo.hswn.dk> <AANLkTimFpVc_ajKQOD-H-LkAYuakcDTWzBoenfeFw4y= (at) mail.gmail.com> <2576F70F90929C41B80CFB897B5159601BB294 (at) EU1-MAIL.mgc.mentorg.com> <AANLkTi=gY+oEbtgE5wqkdFkZJRvUQC2VC3mb_g4avjv= (at) mail.gmail.com> <2685F464D7BC7C4DA88845C97AEB5F533A9AEA379E (at) qtomaexmbm22.AD.QINTRA.COM> <4D3709E1.1040801 (at) mentor.com>
Hi Craig,
How can I give read permission to apache user?
My “www” and “web” folder is present in the path “/home/xymon/server/www”
If find apache from root then following output I got:
/usr/sbin/apachectl
[root (at) RHEL5 sbin]# pwd
/usr/sbin
[root (at) RHEL5 sbin]# ls -lrt apachectl
-rwxr-xr-x 1 root root 3916 Jul 15 2009 apachectl
[root (at) RHEL5 sbin]#
Also Kindly let me know "how accessing a simple /index.html in my root web
directory"
With Regards,
Jayanta.
On Wed, Jan 19, 2011 at 9:27 PM, Craig Whilding
<craig_whilding (at) mentor.com>wrote:
> Yes that is what was meant, thanks for elaborating Paul.
>
> 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.
>
> Regards,
> Craig
>
>
> On 19/01/11 14:45, Root, Paul wrote:
>
> No, that's not what was stated.
>
> You need the original httpd.conf file. It lives in /etc/httpd/conf
> Then you put the hobbit-apache.conf file, named as is, into
> /etc/httpd/conf.d. This is a directory for additional config files.
>
> I still think your problem is file and directory ownership. Your web
> directory, which I'm going to guess is
> /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.
>
> 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.
>
>
> Paul Root
> Lead Internet Systems Eng
> Qwest Network Services
>
>
>
> ------------------------------
> *From:* Jayanta Kundu [mailto:jayantak007 (at) gmail.com<jayantak007 (at) gmail.com>]
>
> *Sent:* Wednesday, January 19, 2011 8:29 AM
> *To:* xymon (at) xymon.com
> *Subject:* Re: [xymon] Forbidden : You don't have permission to access
> /xymon/index.html on this server.
>
> Hi Craig,
>
> 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.
>
> With Regards,
> Jayanta.
>
> On Wed, Jan 19, 2011 at 7:18 PM, Whilding, Craig <
> Craig_Whilding (at) mentor.com> wrote:
>
>>
>> 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.
>>
>> Regards,
>> Craig
>>
>>
>> -----Original Message-----
>> From: Jayanta Kundu [mailto:jayantak007 (at) gmail.com <jayantak007 (at) gmail.com>
>> ]
>> Sent: Wed 19/01/2011 13:02
>> To: xymon (at) xymon.com
>> Subject: Re: [xymon] Forbidden : You don't have permission to access
>> /xymon/index.html on this server.
>>
>> Hi Henrik,
>>
>>
>> I already appended following:
>>
>> #cat /home/xymon/server/etc/hobbit-apache.conf >>
>> /etc/httpd/conf/httpd.conf
>>
>> After that I restart apache.
>> Still i am facing following error.
>>
>> With Regards,
>> Jayanta.
>>
>> On Wed, Jan 19, 2011 at 6:20 PM, Henrik Størner <henrik (at) hswn.dk> wrote:
>>
>>
>> In <AANLkTinz+oMdOF9afYTURQE7cje6x27XxsDNpRAVpvnC (at) mail.gmail.com<AANLkTinz%2BoMdOF9afYTURQE7cje6x27XxsDNpRAVpvnC (at) mail.gmail.com><
>> mailto:AANLkTinz%2BoMdOF9afYTURQE7cje6x27XxsDNpRAVpvnC (at) mail.gmail.com<AANLkTinz%2BoMdOF9afYTURQE7cje6x27XxsDNpRAVpvnC (at) mail.gmail.com>>
>> > Jayanta Kundu <jayantak007 (at) gmail.com> writes:
>>
>> >I install xymon collector server and agent in the same machine.
>> Apache
>> >server is running in the same server.
>>
>>
>> >I am getting following error:
>>
>> >*Forbidden*
>>
>> >You don't have permission to access /xymon/index.html on this
>> server.
>>
>> > ------------------------------
>>
>>
>> Make sure you have configured Apache with the configuration
>> provided in the $XYMONHOME/etc/xymon-apache.conf, and done a
>> reload of the Apache configuration.
>>
>>
>> Regards,
>> Henrik
>>
>>
>> To unsubscribe from the xymon list, send an e-mail to
>> xymon-unsubscribe (at) xymon.com
>>
>>
>>
>>
>>
>>
>>
>
> ------------------------------
> This communication is the property of Qwest and may contain confidential or
> privileged information. Unauthorized use of this communication is strictly
> prohibited and may be unlawful. If you have received this communication
> in error, please immediately notify the sender by reply e-mail and destroy
> all copies of the communication and any attachments.
>
>
>