Change the folder permission to 777 by using chmod.<br clear="all">----------------------------------------------------------<br><a href="http://forums.linuxdesh.com/member.php?action=register&referrer=3%20" target="_blank">Dedicated Linux Forum in Bangladesh</a><br>

<a href="https://twitter.com/#%21/AshickunNoor" target="_blank">Follow Me Twiter</a><br>Thank you<br>Md Ashickur Rahman<br><br><br>
<br><br><div class="gmail_quote">On Thu, Aug 4, 2011 at 3:51 PM, Amrit Pal Pathak <span dir="ltr"><<a href="mailto:amritpalpathak1@gmail.com">amritpalpathak1@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">

I have a fresh system i.e  newly installed ubuntu 10.04.Apache is installed using "sudo apt-get install apache2".I tested it by making a test.php file in /var/www and it is accessible from browser.Now i copied a directory to /var/www  but it is not being accessible from browser.It gives the following dreading message.<div>


<br></div><div><h1 style="font-family:'Times New Roman';font-size:medium">Forbidden</h1><p style="font-family:'Times New Roman';font-size:medium">You don't have permission to access /GNDEC-SMS-Service/ on this server.</p>


<hr style="font-family:'Times New Roman';font-size:medium"><address style="font-family:'Times New Roman';font-size:medium">Apache/2.2.14 (Ubuntu) Server at localhost Port 80 </address><address style="font-family:'Times New Roman';font-size:medium"><br>


</address><div><br></div><div>I changed the permission of the directory to 755 but it didn't work.Similarly 775 still didnt work.I know its a permission issue.Can anybody please tell me which permission i should give to /var/www/directory so that i can access it .</div>


<div><br></div>-- <br> Thank you !!<br> <br> Regards<br> Amrit Pal <br><br><a href="http://amritpalpathak.blogspot.com" target="_blank"> amritpalpathak.blogspot.com</a><br><br>
</div>
<br>--<br>
ubuntu-users mailing list<br>
<a href="mailto:ubuntu-users@lists.ubuntu.com">ubuntu-users@lists.ubuntu.com</a><br>
Modify settings or unsubscribe at: <a href="https://lists.ubuntu.com/mailman/listinfo/ubuntu-users" target="_blank">https://lists.ubuntu.com/mailman/listinfo/ubuntu-users</a><br>
<br></blockquote></div><br>