Page 1 of 1

403 permission error

PostPosted: 29. December 2011 01:38
by gerard149149
hi
i'm trying to use xampp 1.7.7 on ubuntu but get this error when i try to view pages on firefox. i can only create or move folders from root. can someone link to or explain themselves the procedure to give permission to other users please.
also i have no privliges in phpmyadmin on the browser though this is prob the same thing no?
thanks

Re: 403 permission error

PostPosted: 29. December 2011 14:21
by JonB
Gerard:

For LAMPP to work correctly, the ownership of the files in /opt/lampp/htdocs (or any other DocumentRoot) needs to be nobody:root, NOT root:root. 'nobody' is a special user in this context, and is the owner of the worker httpd processes when running XAMPP/LAMPP.

Code: Select all
[jonb@localhost ~]$ su
Password:
[root@localhost jonb]# chown -R nobody:root /opt/lampp/htdocs


Good Luck
8)