Re: Custom 404 page works on one server, not another
From: Andrey P (andrey_at_paramonov.pp.ru)
Date: 05/24/04
- Next message: Andrey P: "Re: Synchronize web content"
- Previous message: wscc777: "Re: Unable to install IIS"
- In reply to: Jay Edgar: "Custom 404 page works on one server, not another"
- Messages sorted by: [ date ] [ thread ]
Date: Mon, 24 May 2004 16:08:02 -0700
Jay Edgar wrote:
> I have read all of the knowledge base articles on this subject, and have not
> found my answer yet.
>
> I have created a custom 404 page in php that helps users who ask for a
> missing page.
>
> I have this working on our sandbox server for our main site. I also have it
> working on one of our secondary sites on the production server. I cannot get
> it to work on the main site in our production server. The 'main' sites
> between sandbox and production are identical, as are their IIS settings (I
> went through each one). Obviously the two sites on the production server are
> on the same box. I'm mystified why I can't get it to work.
>
> It makes no difference whether I change the custom 404 settings to be
> default, URL or file, it continues to display the default page. I tried
> restarting IIS - no change. It's also obvious to me that it's not php, as
> it's not even getting to php. I'm also quite sure the 'check that file
> exists' checkbox is checked.
>
> Can anyone give me suggestions for getting this to work? Any help is greatly
> appreciated.
>
> Regards,
>
> Jay Edgar
>
Hello Edgar
Unfortunately, there's no mystery in our world. Alas. Something is
misconfigured on your "main" site.
0. May I suppose that PHP scripts work well on "main" site.
1. Have you tried to specify a simple html page to handle 404 error?
2. Have you tried to run that 404.php file using a direct link?
3. What's in the IIS http logs? Which page is shown served when you
request a non-existing page?
4. HAve you checked the "master" properties for IIS on the box hosting
"main" web site
5. Do you have "physical" access to that server? I mean - can you run
some utilities from the command prompt/gui?
etc.
-Andrey.
- Next message: Andrey P: "Re: Synchronize web content"
- Previous message: wscc777: "Re: Unable to install IIS"
- In reply to: Jay Edgar: "Custom 404 page works on one server, not another"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|
|