Forbidden 403

luizccm

Verified User
Joined
Oct 24, 2004
Messages
41
Location
Brazil, Brasilia D.F
Hi all,
I am having forbidden problem (403) in all new created domain. I do not get access the page index.htm. I Already erased and recreated again the domain, but the problem persists. Does anybody have some track of this problem???
Thanks,
Luiz:confused:
 
Check all the httpd.conf files and paths therein, then verify that the permissions on the user home directories and public_html directories are good as well.
 
This could be (not saying it is) caused by a change in how DA sets ownership and permissions since your DA server was initially installed.

Jeff
 
Can you tell us how you fixed the permissions? I am having the same issue on a client I restored from one server to another.

Thanks,
Phil
 
Hi, who made the changes was the administrator of the server, but the information that it passed me was that only twirling the command below, it would decide. In case that it wants to enter in contact with it, it follows its email below.
Thanks,
Luiz

chmod -R 0777 /path/of/page

Alexandre: [email protected]
 
It's not a good idea to chmod everything 777; anything chmodded 777 can be written to by anyone who wants to attack your site.

You can generally look at the permissions on the subdirectories, html files, etc., on a working site, and match them.

You have to think about ownership; generally if you've got a working site match everything but the username; that should be the username of the nonworking site.

Jeff
 
This all started when I restored a reseller account from a backup.

I had to move a reseller and his clients from one server to another. I logged in as the reseller and did a user backup of all users. I then created a new reseller account on the new server with the same name/pswd as the old server and then restored the backup from the original server.

Now the resellers domain and all his clients are getting the forbidden message.

Any help? I have a message in to support to see what they think.

Regards,
Phil
 
FOUND THE PROBLEM....

When DA restored the accounts it messed up the permissions on the folder as follows:


/home/username/domains/domain.com -< 710


It should be set to 755.....

All better now.

Thanks,
Phil
 
what did you did ?

we have the same problem here when we restore one new user...

the public_html is always with permissions 700

so i think its a bug of directadmin..
 
Hi I had this problem too!

This was what was wrong with my site. I deleted to start fresh because I originally built the site with FrontPage and move over to Dreamweaver since MS stop promoting it. I noticed that my site was no longer showing up in search engines so I figured it was the FP coding. My fix was simple once I seen my mistake.. lol I laugh now. When saving my index page I Capitalized the I in Index instead of typing it like this index. So check the name. Here is a small list of DA's codes for permissions.

Some common permission levels are:



For Files

600 Makes a file inaccessible
644 Readable by everyone (e.g. HTML documents)
666 File can be read and modified (e.g. for HTML files modified by scripts)
755 File can be read and executed by everyone (e.g. for scripts)
777 Writable and executable by everyone (not recommended)




For Directories

711 Files in directory can be read by everyone, but not directory contents
755 Files and contents of directory can be seen by everyone
777 Allows full read/write/delete access to a directory (not recommended)


mrfantasy
 
Back
Top