![]() |
[Solved] Error 403 for .php files - Printable Version +- ispCP - Board - Support (http://www.isp-control.net/forum) +-- Forum: ispCP Omega Support Area (/forum-30.html) +--- Forum: Usage (/forum-34.html) +--- Thread: [Solved] Error 403 for .php files (/thread-11910.html) |
[Solved] Error 403 for .php files - Spheerys - 10-19-2010 06:56 PM Hi, I'm using ispCP for 40 websites on 3 servers and that's work very well ![]() One customer have problem with php files : there is systematicaly an 403 error page. There is no problem with my others php customers ! Have you an idea where the problem is ? RE: Error 403 for .php files - kilburn - 10-19-2010 07:11 PM 403 is a forbidden error. They either have an .htaccess file restricting access to everyone, or their files are owned by an incorrect user (have you manually copied files to his account?) RE: Error 403 for .php files - Spheerys - 10-19-2010 10:04 PM I have not .htaccess in the /htdocs directory and I changed manually the correct owner for all the files in the /htdocs directory Is the problem can come from elsewhere ? (php configuration etc...) ? Because the index.htm file is OK from the web But a simple php file with <?php echo "hello"; ?> makes a 403 error.... Very strange... RE: Error 403 for .php files - kilburn - 10-19-2010 10:09 PM Is there any additional info in /var/log/apache2/suexec.log? RE: Error 403 for .php files - Spheerys - 10-19-2010 11:16 PM Only lot and lot of : Code: [2010-10-19 14:51:48]: uid: (2051/vu2051) gid: (2051/vu2051) cmd: php5-fcgi-starter That's really looks like if the php files were forbidden... You can test with the links bellow : - http://www.domain.com/index.htm (that's work) - http://www.domain.com/leclosfleuri.jpg (one image of the website) - http://www.domain.com/index-test.php (error 403) The content of the index-test.php file is : Code: <?php echo "toto"; ?> RE: Error 403 for .php files - Spheerys - 10-20-2010 12:22 AM Hummm if I try to launch the index-test.php by hand, I have this : Code: /var/www/virtual/domain.com/htdocs# php index-test.php RE: Error 403 for .php files - kilburn - 10-20-2010 03:34 AM looks like it's working right now... RE: Error 403 for .php files - Spheerys - 10-20-2010 03:35 AM I didn't solve the problem, but as my customer need to use the hosting, I delete and recreate the domain on isp-CP And that's work now... But thank for yours answers kilburn ![]() |