[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
RE: Virtual Host Apache Limitations
- From: "Celal UNALP" <cunalp oyak com tr>
- To: "Red Hat Enterprise Linux 4 (Nahant) Discussion List" <nahant-list redhat com>
- Subject: RE: Virtual Host Apache Limitations
- Date: Thu, 21 Jul 2005 08:40:26 +0300
Hi,
Thank you. It was a SELINUX file attribute problem.
We have already turned off SELINUX, but the file/folder permission
controls remain unchanged. Interesting.
-----Original Message-----
From: Brian Long [mailto:brilong cisco com]
Sent: Wednesday, July 20, 2005 3:40 PM
To: Red Hat Enterprise Linux 4 (Nahant) Discussion List
Subject: Re: Virtual Host Apache Limitations
On Wed, 2005-07-20 at 13:14 +0300, Celal UNALP wrote:
> Hi,
>
> Is there any apache limitation for virtual host configurations?
>
> I have installed RHEL4 with standard httpd-2.0.52-12.ent.i386 and
> followed the documented steps for virtual hosts.
> Now I can't get it work with any different "DocumentRoot" directives.
> It always says 403 FORBIDDEN...
>
> It perfectly works with only "DocumentRoot" directives that targeted
> under "/var/www/html" in virtual host section.
>
> I checked httpd.conf , directory permissions and apache user/group
> rights. Everything is set to defaults.
>
> Any idea?
Do you have selinux enabled (/etc/sysconfig/selinux might have
SELINUX=enablied)? If so, that's most likely your problem. Read up on
selinux and use "chcon" to change the security context of your alternate
DocumentRoot directories to match that of the /var/www/html directory.
/Brian/
--
Brian Long | | |
IT Data Center Systems | .|||. .|||.
Cisco Linux Developer | ..:|||||||:...:|||||||:..
Phone: (919) 392-7363 | C i s c o S y s t e m s
--
nahant-list mailing list
nahant-list redhat com
http://www.redhat.com/mailman/listinfo/nahant-list
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]