Forbidden 403

wazburn

Verified User
Joined
Nov 26, 2011
Messages
70
Code:
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.

Hi I restore backup then it goes 403

CHecked, no Luck:
chmod 755 /home/user
chmod 755 /home/kitty/domains/domain.com/public_html
chmod 755 /home/kitty/domains/domain.com/public_html/.htaccess

chown -R user /home/user

Restarted apache
restarted server

Code:
[root@server]# grep ^access: /etc/group
access:x:506:apache,nobody,mail,majordomo,daemon

Apache Error log
Code:
(13)Permission denied: /home/user/domains/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable


Help Pls, cant think of anything else.
 
chmod 755 /home/kitty/domains/domain.com/public_html/.htaccess
This should be 644, also check the owner, also check if .htaccess file have no error inside it.

Regards
 
chmod 755 /home/kitty/domains/domain.com/public_html/.htaccess
This should be 644, also check the owner, also check if .htaccess file have no error inside it.

Regards

no luck

.htaccess is already 0644 and directories are owned by kitty
 
Try run this: /usr/local/directadmin/scripts/set_permissions.sh user_homes


Regards

tnx
correct me if im wrong, so it should be..

/usr/local/directadmin/scripts/set_permissions.sh /home/kitty/domains/domain.com
 
Try run this: /usr/local/directadmin/scripts/set_permissions.sh user_homes

Regards

man!! it worked ! i will monitor for the next 24hours.

is this a DA bug or something? I delete and restore the user and website so many times and it works a few hours then it goes back 403.

meanwhile i will check in 24hours and report here.
 
Back
Top