Access Forbidden

  • ps2cho
  • Born
  • Born
  • ps2cho
  • Posts: 3

Post 3+ Months Ago

ps2cho's Avatar

Rank: Member
Joined: Oct 2004
Location: In a ditch /w wireless internet
Status: Online


Access Forbidden

Ok, i just come back to the computer, try to enter my website and i get this:

Quote:
Forbidden

You don't have permission to access / on this server.
Apache/2.0.54 (Gentoo/Linux) mod_ssl/2.0.54 OpenSSL/0.9.7e PHP/4.3.11 Server at server Port 89



Any ideas how to fix this ?


I have removed apache and re-emerged it and still no luck.

help
  • ps2cho
  • Born
  • Born
  • ps2cho
  • Posts: 3

Post 3+ Months Ago

Ah it seems to be that it somehow took permissions away.
I did #chmod -R htdocs and it worked...
but it wont seem to write to it.

how do i give all permissions to the folder?
  • Daemonguy
  • Moderator
  • Web Master
  • User avatar
  • Posts: 2700
  • Loc: Somewhere outside the box in Sarasota, FL.

Post 3+ Months Ago

By "all permissions" you mean read, write and execute to all three levels of user?

Wow. That is a remarkably bad idea.

However, chmod -R 777 <foldername> will do just that.
  • ps2cho
  • Born
  • Born
  • ps2cho
  • Posts: 3

Post 3+ Months Ago

Ok after reading some more on it
4 is read 2 is write and 1 is exec correct?
4+2+1 = full privileges

For each number is for each group. First = owner 2nd = group 3rd = everybody.

So 774 would do the trick right?

I did chmod -R 774 htdocs but when i try to do the xoops.org installation:
Quote:
Checking file and directory permissions..
Directory uploads/ is NOT writable.
Directory cache/ is NOT writable.
Directory templates_c/ is NOT writable.
File mainfile.php is NOT writable

Post Information

  • Total Posts in this topic: 4 posts
  • Users browsing this forum: No registered users and 11 guests
  • You cannot post new topics in this forum
  • You cannot reply to topics in this forum
  • You cannot edit your posts in this forum
  • You cannot delete your posts in this forum
  • You cannot post attachments in this forum
 
cron
 

© 1998-2014. Ozzu® is a registered trademark of Unmelted, LLC.