bieber
July 11th, 2006, 08:06 PM
Okay, so I have PHP and Apache installed on my machine. Problem is, I can get PHP pages working fine if I put them in /var/www, but if a file is in a user's public_html directory, trying to load it always gives a 403 (permission denied) error, even with all permissions on the file and directory set to their lax-est. Am I missing something in a configuration file or something to that effect?
ifokkema
July 12th, 2006, 02:02 PM
Okay, so I have PHP and Apache installed on my machine. Problem is, I can get PHP pages working fine if I put them in /var/www, but if a file is in a user's public_html directory, trying to load it always gives a 403 (permission denied) error, even with all permissions on the file and directory set to their lax-est. Am I missing something in a configuration file or something to that effect?
Hi,
Problems like these are always caused by little things you overlooked. Don't worry, I've had this a million times, too.
Check out the apache error logs. If it's not in the file, it's in one of the upstream directories. If the file is readable by all, is the directory it's in? And the directory above that one? Check all directories, all up to the permissions of /home.
Good luck!
vBulletin® v3.8.7, Copyright ©2000-2012, vBulletin Solutions, Inc.