403 permission error

Problems with the Linux version of XAMPP, questions, comments, and anything related.

403 permission error

Postby gerard149149 » 29. December 2011 01:38

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?
Posts: 1
Joined: 29. December 2011 01:32
XAMPP Version: 5.6.3
Operating System: ubuntu

Re: 403 permission error

Postby JonB » 29. December 2011 14:21


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
[root@localhost jonb]# chown -R nobody:root /opt/lampp/htdocs

Good Luck
User avatar
AF Moderator
Posts: 3210
Joined: 12. April 2010 16:41
Location: Land of the Blazing Sun
XAMPP Version: 1.8.3-2
Operating System: Windows XP/7 - Fedora 15 1.7.7

Return to XAMPP for Linux

Who is online

Users browsing this forum: No registered users and 5 guests