You don't have permission to access / on this server

robocap

Well-Known Member
Nov 6, 2006
67
0
156
hi dear.
i have one problem
i take new server,
and want tranfer account of another server to new server

i tranfer.
but take all site to me error


Forbidden
You don't have permission to access / on this server.

Additionally, a 403 Forbidden error was encountered while trying to use an ErrorDocument to handle the request.


please help me.
i use of Copy multiple accounts from another server

good luck
 

jayh38

Well-Known Member
Mar 3, 2006
1,213
0
166
You seem to have a login failure. Do you have root access on both servers?
If so, verify the credentials.
 

robocap

Well-Known Member
Nov 6, 2006
67
0
156
yes.
yet i can tranfer 5 site with right.
but i can`t again tranfer another.

yet tranfer all user too my server and in home/user crated
but problem

thanks
 

Tom Pyles

Well-Known Member
Apr 26, 2002
254
0
316
This is an older thread but I just ran into this issue last night. Transfered sites from one server to another and everything went well except one site is returning the error:

You don't have permission to access / on this server
 

FromOz

Member
Apr 3, 2006
6
0
151
Same here

Any clues to fix the "You don't have permission to access / on this server." would be much appreciated, been scanning through here and google for a few days now :(
 

chirpy

Well-Known Member
Verifed Vendor
Jun 15, 2002
13,465
30
473
Go on, have a guess
Check the apache error_log when you visit the site to see if any specific errors are posted: /usr/local/apache/logs/error_log
 

FromOz

Member
Apr 3, 2006
6
0
151
G'day Chirpy

Apache error log shows:

client denied by server configuration: /home/cfalscom/public_htm

As far as I can tell all owners and permissions are correct. The site was working fine until I used rsync to transfer a couple of directories across from my other host - not sure if that's just coincidence or not. Have had a ticket in with tech support at this server for 3 days now with no resolution in sight. Tried a few things mentioned on these forums (running repair scripts, adding some lines to http.conf etc.) but nothing seems to have any affect.

Running latest current CPanel and WHM on a CentOS 4 box but being new to this side of things (just recently moved to a dedicated server) I am still only about a third up the steep learning curve!
 
Last edited:

AndyReed

Well-Known Member
PartnerNOC
May 29, 2004
2,221
4
193
Minneapolis, MN
Apache error log shows:

client denied by server configuration: /home/cfalscom/public_htm
Check the following:
  • .htaccess file. It is possible that there is a restriction causing this problem.
  • uid:gid ownership and permission set on directories are correct.
  • the directives/entry for this site in httpd.conf are correct.
 

FromOz

Member
Apr 3, 2006
6
0
151
Thanks guys for the pointers, particularly Andy.

Tracked it down, when I first issued the rsync command I noticed I'd messed it up and some files where transferred straight into root instead of the correct directory.

Thought I'd cleaned it all up but one of the files (which happened to be the .htacces file from a Gallery install) had overwritten the original - with "Deny from all" :eek:

Would've been nice if tech support had found it within the 5 days but cest la vie. Live and learn I guess.

Thanks again for your input guys, much appreciated :)