Yes , definitely, selinux could cause this problem.  It's selinux's job to ensure that Apache does not try to access files outside of its normal directories, so that makes perfect sense that if selinux is enabled, you could have this problem.  Does /var/log/messages show selinux errors?
<br><br>
<div><span class="gmail_quote">On 9/2/06, <b class="gmail_sendername">Nirav Modiya</b> <<a href="mailto:nirav.linux@gmail.com">nirav.linux@gmail.com</a>> wrote:</span>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">
<div>As per ur suggestion i have checked the User Directives..<br>and i have set User and Group directives to xxx<br>as xxx is owner of /home/xxx directory and it has full permission to access /home/xxx..<br>then also i got same error..
<br><br>is this issue related to selinux ? for permission of perticular user.<br>With regards</div>
<div><span class="e" id="q_10d6ed1bca01d10f_1"><br>Nirav<br><br>
<div><span class="gmail_quote">On 9/2/06, <b class="gmail_sendername">Stephen Gilbert</b> <<a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:linuxelf@gmail.com" target="_blank">linuxelf@gmail.com</a>
> wrote:</span> 
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0pt 0pt 0pt 0.8ex; BORDER-LEFT: rgb(204,204,204) 1px solid">
<div>Hrm.  Check your User directive in your conf file. It'll show you who httpd is going to run as.  As long as that user has access to the directories, it should be able to serve up pages from there.  Mine looks like:<br>
<br>User apache<br><br>so as long as apache owns those directories on my server, it worked fine.</div>
<div><span><br><br>
<div><span class="gmail_quote">On 9/2/06, <b class="gmail_sendername">Nirav Modiya</b> <<a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:nirav.linux@gmail.com" target="_blank"> nirav.linux@gmail.com
</a>> wrote:</span> 
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0pt 0pt 0pt 0.8ex; BORDER-LEFT: rgb(204,204,204) 1px solid">
<div>hi stephen<br><br>yes its works fine with /www directory..but i want to make /home directory<br>as my  DocumentRoot  directory....<br><br>And i have tried by putting <Directrory> directives inside <VirtualHost> directives
<br>then also its giving error..i think its problem of permission but i have set it 755 for all <br>/home/xxx as well as /home/xxx/public_html..<br><br>should i have to set any perticular group or user to access my /home directory..?
<br><br>Then also thank you for your all pointers..<br>Nirav</div>
<div><span><br><br><br><br>
<div><span class="gmail_quote">On 9/2/06, <b class="gmail_sendername">Stephen Gilbert</b> <<a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:linuxelf@gmail.com" target="_blank">linuxelf@gmail.com 
</a>> wrote:</span> 
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0pt 0pt 0pt 0.8ex; BORDER-LEFT: rgb(204,204,204) 1px solid">
<div>A couple of things to try.  First, put your <directory> directives<br>inside your <VirtualHost></VirtualHost> directives.  Also, if you want<br>it to show directory indexes, you'll need to tell it to allow them. 
<br>Here's a sample of a virtual host directory on my server:<br><br><VirtualHost <a onclick="return top.js.OpenExtLink(window,event,this)" href="http://168.215.142.154/" target="_blank">168.215.142.154:80</a>><br>     ServerAdmin 
<a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:me@myhost.com" target="_blank">me@myhost.com</a><br>     DocumentRoot /www/gigapants <br>     <Directory /www/gigapants><br>        Options FollowSymLinks ExecCGI Indexes
<br>        AllowOverride All<br>     </Directory><br>     ServerName <a onclick="return top.js.OpenExtLink(window,event,this)" href="http://www.gigapants.com/" target="_blank">www.gigapants.com</a> <br>     ServerAlias 
<a onclick="return top.js.OpenExtLink(window,event,this)" href="http://gigapants.com/" target="_blank">gigapants.com</a><br>     CustomLog /var/log/httpd/gigapants-referer_log referer<br>     ErrorLog /var/log/httpd/gigapants-error_log 
<br>     TransferLog /var/log/httpd/gigapants-access_log <br></VirtualHost><br><br><br><br>
<div></div>
<div><span><span class="gmail_quote">On 9/2/06, <b class="gmail_sendername">Nirav Modiya</b> <<a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:nirav.linux@gmail.com" target="_blank"> nirav.linux@gmail.com
</a>> wrote:</span></span></div>
<div>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0pt 0pt 0pt 0.8ex; BORDER-LEFT: rgb(204,204,204) 1px solid"></blockquote></div>
<div><span>
<div>Hi friends,<br>
<div><br>I have configured apache server for our intranet and I want to make two sites running on it...<br>For that i have configured VirtualHost on my apache server..<br>lets say the domain names are <font size="4"><a onclick="return top.js.OpenExtLink(window,event,this)" href="http://xxx.com/" target="_blank">
xxx.com</a></font> and another lets say <font size="4"><a onclick="return top.js.OpenExtLink(window,event,this)" href="http://yyy.com/" target="_blank">yyy.com</a></font><br>i have configured <VirtualHost> directives by following way..
<br><br><b><span></span></b>NameVirtualHost 192.168.1.x:80<br><VirtualHost 192.168.1.x:80><br>        ServerName <a onclick="return top.js.OpenExtLink(window,event,this)" href="http://xxx.com/" target="_blank">xxx.com
</a><br>        ServerAlias <a onclick="return top.js.OpenExtLink(window,event,this)" href="http://www.xxx.com/" target="_blank">www.xxx.com</a><br>        DocumentRoot /home/xxx/public_html<br></VirtualHost><br><Directory /home/xxx/public_html>
<br>        Order allow,deny<br>        Allow from all<br></Directory><br><br><VirtualHost 192.168.1.x:80><br>        ServerName <a onclick="return top.js.OpenExtLink(window,event,this)" href="http://yyy.com/" target="_blank">
yyy.com</a><br>        ServerAlias <a onclick="return top.js.OpenExtLink(window,event,this)" href="http://www.yyy.com/" target="_blank">www.yyy.com</a><br>        DocumentRoot /home/yyy/public_html<br></VirtualHost>
<br><Directory /home/yyy/public_html><br>        Order allow,deny<br>        Allow from all<br></Directory><br><br>After doing this changes when I restarted apache server i got following warning<br><br>Stopping httpd:                                            [  OK  ]
<br>Starting httpd: Warning: DocumentRoot [/home/xxx/public_html] does not exist<br>Warning: DocumentRoot [/home/yyy/public_html] does not exist         [  OK  ]<br><br>I have also check the permission on the folder and public_html has 755 permission
<br>I have cofigured DNS server also for this domain name and its working fine..<br><br>And when I check the domain by opening it in web browser by <br><font size="4"><a onclick="return top.js.OpenExtLink(window,event,this)" href="http://xxx.com/" target="_blank">
http://xxx.com</a> </font>I got following error<br><br>
<h1>Forbidden</h1>
<p>You don't have permission to access / on this server.</p>
<p>Additionally, a 403 Forbidden error was encountered while trying to use an ErrorDocument to handle the request.</p>
<hr>

<address>Apache/2.0.52 (Red Hat) Server at <a onclick="return top.js.OpenExtLink(window,event,this)" href="http://gmslocal.com/" target="_blank">gmslocal.com</a> Port 80<br><br><br><font size="2">So is there any solution for this problem.....
<br>I really got mad...Plz help..<br><br>Thanks in advance...<br><br></font></address>With cheer..<br> </div>
<div><span>Nirav Modiya </span></div><br clear="all"><br>-- <br> </div>
<div><span>Nirav Modiya </span></div><br></span></div>
<div>_______________________________________________<br>rhn-users mailing list<br><a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:rhn-users@redhat.com" target="_blank">rhn-users@redhat.com</a><br><a onclick="return top.js.OpenExtLink(window,event,this)" href="https://www.redhat.com/mailman/listinfo/rhn-users" target="_blank">
https://www.redhat.com/mailman/listinfo/rhn-users</a><br><br> </div><br><br clear="all"><br>-- <br>Stephen Gilbert<br>RHCE - 804006953620491 </div><br>_______________________________________________<br>rhn-users mailing list
<br><a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:rhn-users@redhat.com" target="_blank">rhn-users@redhat.com</a> <br><a onclick="return top.js.OpenExtLink(window,event,this)" href="https://www.redhat.com/mailman/listinfo/rhn-users" target="_blank">
https://www.redhat.com/mailman/listinfo/rhn-users</a><br><br></blockquote></div><br><br clear="all"><br>-- <br></span></div>
<div><span>Nirav Modiya </span></div><br>_______________________________________________<br>rhn-users mailing list<br><a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:rhn-users@redhat.com" target="_blank">
rhn-users@redhat.com </a><br><a onclick="return top.js.OpenExtLink(window,event,this)" href="https://www.redhat.com/mailman/listinfo/rhn-users" target="_blank">https://www.redhat.com/mailman/listinfo/rhn-users</a><br><br>
</blockquote></div><br><br clear="all"><br>-- <br>Stephen Gilbert<br>RHCE - 804006953620491 </span></div><br>_______________________________________________<br>rhn-users mailing list<br><a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:rhn-users@redhat.com" target="_blank">
rhn-users@redhat.com</a><br><a onclick="return top.js.OpenExtLink(window,event,this)" href="https://www.redhat.com/mailman/listinfo/rhn-users" target="_blank">https://www.redhat.com/mailman/listinfo/rhn-users</a><br><br></blockquote>
</div><br><br clear="all"><br>-- <br>Nirav Modiya </span></div><br>_______________________________________________<br>rhn-users mailing list<br><a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:rhn-users@redhat.com">
rhn-users@redhat.com</a><br><a onclick="return top.js.OpenExtLink(window,event,this)" href="https://www.redhat.com/mailman/listinfo/rhn-users" target="_blank">https://www.redhat.com/mailman/listinfo/rhn-users</a><br><br></blockquote>
</div><br><br clear="all"><br>-- <br>Stephen Gilbert<br>RHCE - 804006953620491