Current time: 11-27-2024, 10:09 PM Hello There, Guest! (LoginRegister)


Post Reply 
[solved] Error 404 on PHP files
Author Message
morphium Offline
Newbie
*

Posts: 7
Joined: Nov 2007
Reputation: 0
Post: #1
[solved] Error 404 on PHP files
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
(This post was last modified: 11-27-2007 10:31 PM by ephigenie.)
11-27-2007 05:48 AM
Find all posts by this user Quote this message in a reply
joximu Offline
helper
*****
Moderators

Posts: 7,024
Joined: Jan 2007
Reputation: 92
Post: #2
RE: Error 404 on PHP files
check the permissions.
How do you upload the files?
11-27-2007 07:17 AM
Visit this user's website Find all posts by this user Quote this message in a reply
morphium Offline
Newbie
*

Posts: 7
Joined: Nov 2007
Reputation: 0
Post: #3
RE: Error 404 on PHP files
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
11-27-2007 07:36 AM
Find all posts by this user Quote this message in a reply
joximu Offline
helper
*****
Moderators

Posts: 7,024
Joined: Jan 2007
Reputation: 92
Post: #4
RE: Error 404 on PHP files
something in error.log? (apache)
or enable php-error-log in php.ini...

/J
11-27-2007 07:54 AM
Visit this user's website Find all posts by this user Quote this message in a reply
morphium Offline
Newbie
*

Posts: 7
Joined: Nov 2007
Reputation: 0
Post: #5
RE: Error 404 on PHP files
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
11-27-2007 08:05 AM
Find all posts by this user Quote this message in a reply
rbtux Offline
Moderator
*****
Moderators

Posts: 1,847
Joined: Feb 2007
Reputation: 33
Post: #6
RE: Error 404 on PHP files
http://us2.php.net/manual/de/ref.errorfu....error-log
11-27-2007 08:11 AM
Visit this user's website Find all posts by this user Quote this message in a reply
morphium Offline
Newbie
*

Posts: 7
Joined: Nov 2007
Reputation: 0
Post: #7
RE: Error 404 on PHP files
Enabled PHP error log, doesnt log anything
11-27-2007 08:21 AM
Find all posts by this user Quote this message in a reply
joximu Offline
helper
*****
Moderators

Posts: 7,024
Joined: Jan 2007
Reputation: 92
Post: #8
RE: Error 404 on PHP files
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
11-27-2007 09:14 AM
Visit this user's website Find all posts by this user Quote this message in a reply
morphium Offline
Newbie
*

Posts: 7
Joined: Nov 2007
Reputation: 0
Post: #9
RE: Error 404 on PHP files
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
11-27-2007 07:13 PM
Find all posts by this user Quote this message in a reply
joximu Offline
helper
*****
Moderators

Posts: 7,024
Joined: Jan 2007
Reputation: 92
Post: #10
RE: Error 404 on PHP files
Fine!
Could you please change the title in the first post ([solved]...).
Thanx

Cheers Joximu
11-27-2007 07:45 PM
Visit this user's website Find all posts by this user Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)