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


Posts: 7
Group: Registered
Joined: Nov 2007
Status: Offline
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
Moderator
*****


Posts: 3,539
Group: Moderators
Joined: Jan 2007
Status: Offline
Reputation: 47
Post: #2
RE: Error 404 on PHP files

check the permissions.
How do you upload the files?


2008-03-16 ispCP RC4 released!!!
11-27-2007 07:17 AM
Visit this user's website Find all posts by this user Quote this message in a reply
morphium
Newbie
*


Posts: 7
Group: Registered
Joined: Nov 2007
Status: Offline
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
Moderator
*****


Posts: 3,539
Group: Moderators
Joined: Jan 2007
Status: Offline
Reputation: 47
Post: #4
RE: Error 404 on PHP files

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

/J


2008-03-16 ispCP RC4 released!!!
11-27-2007 07:54 AM
Visit this user's website Find all posts by this user Quote this message in a reply
morphium
Newbie
*


Posts: 7
Group: Registered
Joined: Nov 2007
Status: Offline
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
Member
***


Posts: 1,200
Group: Registered
Joined: Feb 2007
Status: Away
Reputation: 22
Post: #6
RE: Error 404 on PHP files

OS: Debian Lenny
ispCP Version: Trunk r1033
Activated: AWStats dynamic, Dovecot, Avelsieve, Selective Greylisting, Bogus MX Filter,
No Webtools, Roundcube, Some own modifications
11-27-2007 08:11 AM
Visit this user's website Find all posts by this user Quote this message in a reply
morphium
Newbie
*


Posts: 7
Group: Registered
Joined: Nov 2007
Status: Offline
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
Moderator
*****


Posts: 3,539
Group: Moderators
Joined: Jan 2007
Status: Offline
Reputation: 47
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


2008-03-16 ispCP RC4 released!!!
11-27-2007 09:14 AM
Visit this user's website Find all posts by this user Quote this message in a reply
morphium
Newbie
*


Posts: 7
Group: Registered
Joined: Nov 2007
Status: Offline
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
Moderator
*****


Posts: 3,539
Group: Moderators
Joined: Jan 2007
Status: Offline
Reputation: 47
Post: #10
RE: Error 404 on PHP files

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

Cheers Joximu


2008-03-16 ispCP RC4 released!!!
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  Post Thread 

View a Printable Version
Send this Thread to a Friend
Subscribe to this Thread | Add Thread to Favorites

Forum Jump:

| All rights reserved : isp-control.net |