Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

I am a Linux newbie and decided to do a LAMP install to start getting more familiar with it (as our company is moving more towards nix these days). Everything went great and PHPMyAdmin, MySQL, Apache/PHP all seem to be running fine.

The test .php files I uploaded to the /var/www/html directory worked fine, but after extracting a tarball with a folder inside of it to that directory, I receive a 403 Forbidden error when attempting to access it.

I have tried...

  • Setting SELinux to permissive mode
  • CHMOD directory to 777 for testing. It fixes the 403 error but all the php files in it are just white pages
  • Setting a in the Apache configuration

The httpd error_log reports (before I set it to permissive)...

SELinux policy enabled; httpd running as context unconfined_u:system_r:httpd_t:s0
suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
share|improve this question

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.