ispCP - Board - Support
[solved] Error 404 on 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 404 on PHP files (/thread-1875.html)



[solved] Error 404 on PHP files - morphium - 11-27-2007 05:48 AM

Hi, i'm getting Error 404 on customerdomains when i try to call .php files. all other file types work (.html and so on), but with ending .php it gives error 404.

What could i try to fix that?

morphium


RE: Error 404 on PHP files - joximu - 11-27-2007 07:17 AM

check the permissions.
How do you upload the files?


RE: Error 404 on PHP files - morphium - 11-27-2007 07:36 AM

The permissions are correct.

-rw-r--r-- 1 vu2046 vu2046 834 2007-11-25 22:13 pathway.php
-rw-r--r-- 1 vu2046 vu2046 286 2007-11-25 22:13 robots.txt

robots.txt works. pathway.php gives 404.

morphium


RE: Error 404 on PHP files - joximu - 11-27-2007 07:54 AM

something in error.log? (apache)
or enable php-error-log in php.ini...

/J


RE: Error 404 on PHP files - morphium - 11-27-2007 08:05 AM

domainname.combined.log:
77.5.214.123 - - [26/Nov/2007:23:02:59 +0100] "GET / HTTP/1.1" 404 1580 "-" "Opera/9.24 (Windows NT 5.1; U; de)"

how to enable php logging?

morphium


RE: Error 404 on PHP files - rbtux - 11-27-2007 08:11 AM

http://us2.php.net/manual/de/ref.errorfunc.php#ini.error-log


RE: Error 404 on PHP files - morphium - 11-27-2007 08:21 AM

Enabled PHP error log, doesnt log anything


RE: Error 404 on PHP files - joximu - 11-27-2007 09:14 AM

do you also have a
domainname.access.log or
domainname.error.log
should be in /var/log/apache/users

or then have a look in the /var/log/apache/suexec.log

/J


RE: Error 404 on PHP files - morphium - 11-27-2007 07:13 PM

Thanks! It was an fastcgi error, the directories /var/www/fcgi/<domainname> didnt exist (i didnt copy them from the old server).

(/var/log/apache2/users/domainname-error.log gave [timestamp] [error] [client ip] (2)No such file or directory: FastCGI: stat() of "/var/www/fcgi/domainname" failed)

So i consider this as solved.

morphium


RE: Error 404 on PHP files - joximu - 11-27-2007 07:45 PM

Fine!
Could you please change the title in the first post ([solved]...).
Thanx

Cheers Joximu