Hi guys,
I'm using Centos 3.5 with Apache-2.0.46. i linke my mrtg from /var/www/mrtg to /var/www/html/mrtg so i did the command ln -s /var/www/mrtg. it worked fine last week but when i checked the mrtg today it say 403 forbidden.
Forbidden
You don't have permission to access /mrtg/ on this server. ------------------------------ Apache/2.0.46 (CentOS) Server
but when i tried to link the /var/www/mrtg to a different name it worked fine. i can see the mrtg.
-- Regards, Mark Quitoriano, CCNA http://www.atamanetworks.com
Fan the flame... http://www.spreadfirefox.com/?q=user/register&r=19441
On Oct 25, 2005, at 11:26 AM, Mark Quitoriano wrote:
Hi guys,
I'm using Centos 3.5 with Apache-2.0.46. i linke my mrtg from /var/ www/mrtg to /var/www/html/mrtg so i did the command ln -s /var/www/ mrtg. it worked fine last week but when i checked the mrtg today it say 403 forbidden.
Forbidden
You don't have permission to access /mrtg/ on this server.
Apache/2.0.46 (CentOS) Server
but when i tried to link the /var/www/mrtg to a different name it worked fine. i can see the mrtg.
Do you have a mrtg.conf file in /etc/httpd/conf.d, and is it restricting access? Tony
my mrtg.conf is in /etc/mrtg/
On 10/26/05, Tony Schreiner schreian@bc.edu wrote:
On Oct 25, 2005, at 11:26 AM, Mark Quitoriano wrote:
Hi guys,
I'm using Centos 3.5 with Apache-2.0.46. i linke my mrtg from /var/www/mrtg to /var/www/html/mrtg so i did the command ln -s /var/www/mrtg. it worked fine last week but when i checked the mrtg today it say 403 forbidden.
Forbidden
You don't have permission to access /mrtg/ on this server.
Apache/2.0.46 (CentOS) Server
but when i tried to link the /var/www/mrtg to a different name it worked fine. i can see the mrtg.
Do you have a mrtg.conf file in /etc/httpd/conf.d, and is it restricting access? Tony
CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
-- Regards, Mark Quitoriano, CCNA http://www.atamanetworks.com
Fan the flame... http://www.spreadfirefox.com/?q=user/register&r=19441
On Thu, 2005-10-27 at 04:32 +0800, Mark Quitoriano wrote:
my mrtg.conf is in /etc/mrtg/
On 10/26/05, Tony Schreiner schreian@bc.edu wrote:
On Oct 25, 2005, at 11:26 AM, Mark Quitoriano wrote: > Hi guys, > > I'm using Centos 3.5 with Apache-2.0.46. i linke my mrtg > from /var/www/mrtg to /var/www/html/mrtg so i did the > command ln -s /var/www/mrtg. it worked fine last week but > when i checked the mrtg today it say 403 forbidden. > > > Forbidden > You don't have permission to access /mrtg/ on this server. > > > ____________________________________________________________ > Apache/2.0.46 (CentOS) Server > > > > but when i tried to link the /var/www/mrtg to a different > name it worked fine. i can see the mrtg. Do you have a mrtg.conf file in /etc/httpd/conf.d, and is it restricting access? Tony
When I had this issue it was because selinux was enabled. Is that possibly your issue ... what does /etc/sysconfig/selinux say?
yes my selinux is turn on. how can i don this even with selinux is on?
On 10/26/05, Johnny Hughes mailing-lists@hughesjr.com wrote:
On Thu, 2005-10-27 at 04:32 +0800, Mark Quitoriano wrote:
my mrtg.conf is in /etc/mrtg/
On 10/26/05, Tony Schreiner schreian@bc.edu wrote:
On Oct 25, 2005, at 11:26 AM, Mark Quitoriano wrote:
Hi guys,
I'm using Centos 3.5 with Apache-2.0.46. i linke my mrtg from /var/www/mrtg to /var/www/html/mrtg so i did the command ln -s /var/www/mrtg. it worked fine last week but when i checked the mrtg today it say 403 forbidden.
Forbidden You don't have permission to access /mrtg/ on this server.
Apache/2.0.46 (CentOS) Server
but when i tried to link the /var/www/mrtg to a different name it worked fine. i can see the mrtg.
Do you have a mrtg.conf file in /etc/httpd/conf.d, and is it restricting access? Tony
When I had this issue it was because selinux was enabled. Is that possibly your issue ... what does /etc/sysconfig/selinux say?
-----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (GNU/Linux)
iD8DBQBDYECUTKkMgmrBY7MRAh1jAKCrxflRRgVZ7WQPKBaAZBK+jNb5HACeLOJ9 Kehe2GzlHFd39uhzgvGBfJM= =6EL7 -----END PGP SIGNATURE-----
CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
-- Regards, Mark Quitoriano, CCNA http://www.atamanetworks.com
Fan the flame... http://www.spreadfirefox.com/?q=user/register&r=19441
Johnny Hughes wrote:
On Thu, 2005-10-27 at 04:32 +0800, Mark Quitoriano wrote:
> Forbidden > You don't have permission to access /mrtg/ on this server.
When I had this issue it was because selinux was enabled. Is that possibly your issue ... what does /etc/sysconfig/selinux say?
SELinux on CentOS 3.x? Apache 2.0.46 does hint at that - as does the first mail by Mark.
Ralph
On Thu, 2005-10-27 at 12:20 +0200, Ralph Angenendt wrote:
Johnny Hughes wrote:
On Thu, 2005-10-27 at 04:32 +0800, Mark Quitoriano wrote:
> Forbidden > You don't have permission to access /mrtg/ on this server.
When I had this issue it was because selinux was enabled. Is that possibly your issue ... what does /etc/sysconfig/selinux say?
SELinux on CentOS 3.x? Apache 2.0.46 does hint at that - as does the first mail by Mark.
Ralph
You are correct ... I did read that before, but overlooked it.
If using CentOS-3.x and httpd from there then selinux is not available.
If on CentOS-4.x then selinux might be an issue.