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<br>
Nirav<br>
<br><div><span class="gmail_quote">On 9/2/06, <b class="gmail_sendername">Stephen Gilbert</b> <<a href="mailto:linuxelf@gmail.com">linuxelf@gmail.com</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<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 class="e" id="q_10d6e7c87809e4a4_1"><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" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
nirav.linux@gmail.com</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><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 href="mailto:linuxelf@gmail.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">linuxelf@gmail.com
</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<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 href="http://168.215.142.154:80" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">168.215.142.154:80</a>><br>


     ServerAdmin <a href="mailto:me@myhost.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">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 href="http://www.gigapants.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">


www.gigapants.com</a>
<br>     ServerAlias <a href="http://gigapants.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">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 href="mailto:nirav.linux@gmail.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">


nirav.linux@gmail.com</a>> wrote:</span></span></div><div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"></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 href="http://xxx.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">xxx.com</a></font> and another lets say <font size="4"><a href="http://yyy.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">




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 href="http://xxx.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">xxx.com</a><br>
        ServerAlias <a href="http://www.xxx.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">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 href="http://yyy.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">yyy.com</a><br>
        ServerAlias <a href="http://www.yyy.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">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 href="http://xxx.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">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 href="http://gmslocal.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">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 href="mailto:rhn-users@redhat.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">


rhn-users@redhat.com</a><br><a href="https://www.redhat.com/mailman/listinfo/rhn-users" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
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 href="mailto:rhn-users@redhat.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">rhn-users@redhat.com</a>

<br><a href="https://www.redhat.com/mailman/listinfo/rhn-users" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
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 href="mailto:rhn-users@redhat.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">rhn-users@redhat.com
</a><br><a href="https://www.redhat.com/mailman/listinfo/rhn-users" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
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">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