[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: Virtual Host Apache Limitations
- From: Brian Long <brilong cisco com>
- To: "Red Hat Enterprise Linux 4 (Nahant) Discussion List" <nahant-list redhat com>
- Subject: Re: Virtual Host Apache Limitations
- Date: Wed, 20 Jul 2005 08:39:58 -0400
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
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]