Hi! Serverconf. lamp with ispconfig 3 (centos). I created a subfolder to test som php pages. domainname/web/test/ index.html under test-folder work great. When I create a index.php under the same folder, i got this: Code: Forbidden You don't have permission to access /test/index.php on this server. Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request. Apache/2.2.3 (CentOS) Server at askerit.no Port 80 When I create a simple index.php under domainname/web/ its not working eather. Only .html -files. i have checked the file permissions, and its the same permissions as index.html - 555 / 777 etc. chown is root:root in both .html and .php -files. .htaccess in both folders are empty. Thanks for help!
Thats the reason for your problem. All files and folders have to be owned by the web user and client group.
Im having the same problem. When I create new folder through FTP, only loads when you put html file. But when you put .php, it shows: Forbidden You don't have permission to access /test/ on this server. What's the trick here in some easy language ? Thanks.