Trying to set custom 404 page

Need help installing PHP, configuring a script, or configuring a server? Then come on in and post your questions! We'll try to help the best we can!

Moderator: General Moderators

Post Reply
amir
Forum Contributor
Posts: 287
Joined: Sat Oct 07, 2006 4:28 pm

Trying to set custom 404 page

Post by amir »

I have PHP set as ISAPI and have several sites on the server so doc_root is commented out.

I have set up a custom 404 page in IIS for this site, works for pages other than .php. For any non-existant page with a .php extension, I get "no input file specified". Please help.
User avatar
Burrito
Spockulator
Posts: 4715
Joined: Wed Feb 04, 2004 8:15 pm
Location: Eden, Utah

Post by Burrito »

do you have the 'check that file exists' checkbox ticked in your extension mappings in IIS?
amir
Forum Contributor
Posts: 287
Joined: Sat Oct 07, 2006 4:28 pm

Post by amir »

No, Should it be?
User avatar
RobertGonzalez
Site Administrator
Posts: 14293
Joined: Tue Sep 09, 2003 6:04 pm
Location: Fremont, CA, USA

Post by RobertGonzalez »

Moved to Apache, IIS, Web Servers.
User avatar
Burrito
Spockulator
Posts: 4715
Joined: Wed Feb 04, 2004 8:15 pm
Location: Eden, Utah

Post by Burrito »

amir wrote:No, Should it be?
yup :D
Post Reply