403 Forbidden Error

ORiN

Verified User
Joined
Nov 27, 2010
Messages
54
Location
Singapore
Hi all,

I re-compiled PHP and Apache recently and suPHP seems to have screwed up file permissions. I managed to resolve the file permissions issues but now my main domain on the 'admin' directadmin user account is showing error 403.

(13)Permission denied: /home/admin/domains/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable

When viewing via DirectAdmin, I don't see a .htaccess in /domains folder. Any ideas how I can resolve this issue?
 
The issue is really weird as the other users within DirectAdmin are displaying their websites properly but the one associated with our admin account is the only one throwing the 403 forbidden error.
 
Hello,

It might be caused by wrong permissions on directories, try and use the following script to set correct permissions:

Code:
cd /usr/local/directadmin/scripts/
./set_permissions.sh user_homes
 
Back
Top