You are here: Re: Custom Error Message Pages « PHP Programming Language « IT news, forums, messages
Re: Custom Error Message Pages

Posted by Christopher Pettet on 03/12/06 01:16

Can you please explain why it works for everything EXCEPT .php extensions?

Try these three links and you'll see what I mean...

http://mydvds.psiss.com/fred.htm <- works fine
http://mydvds.psiss.com/fred.php <- displays the default 404
http://mydvds.psiss.com/fred.asp <- works fine


"Ivαn Sαnchez Ortega" <i.punto.sanchez--@rroba--mirame.punto.net> wrote in
message news:nmb1e3-6vj.ln1@blackspark.escomposlinux.org...
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Christopher Pettet wrote:
>
>> What I need to know is where do I tell php the location of the custom
>> error page to ensure it displays the custom 404 page rather than the
>> default one?
>
> PHP does not care about custom error page locations: webservers do. Please
> re-read the documentation for Apache, boa, IIS, or whatever webserver you
> are running.
>
> - --
> - ----------------------------------
> Ivαn Sαnchez Ortega -i-punto-sanchez--arroba-mirame-punto-net
>
> http://acm.asoc.fi.upm.es/~mr/
> Proudly running Debian Linux with 2.6.12-1-686 kernel, KDE3.5.0, and PHP
> 5.1.2-1 generating this signature.
> Uptime: 22:46:55 up 1:22, 1 user, load average: 1.16, 0.80, 0.64
>
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.2 (GNU/Linux)
>
> iD8DBQFEDf+r3jcQ2mg3Pc8RAgdTAJ9egT7XZ2jDQBHDjE7m1r2P8VaumQCfXBeD
> BYUJylZRwJJTJGrgqWAHLI8=
> =EQNq
> -----END PGP SIGNATURE-----

 

Navigation:

[Reply to this message]


УдалСнная Ρ€Π°Π±ΠΎΡ‚Π° для программистов  •  Как Π·Π°Ρ€Π°Π±ΠΎΡ‚Π°Ρ‚ΡŒ Π½Π° Google AdSense  •  England, UK  •  ΡΡ‚Π°Ρ‚ΡŒΠΈ Π½Π° английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Π‘Π°ΠΉΡ‚ ΠΈΠ·Π³ΠΎΡ‚ΠΎΠ²Π»Π΅Π½ Π² Π‘Ρ‚ΡƒΠ΄ΠΈΠΈ Π’Π°Π»Π΅Π½Ρ‚ΠΈΠ½Π° ΠŸΠ΅Ρ‚Ρ€ΡƒΡ‡Π΅ΠΊΠ°
ΠΈΠ·Π³ΠΎΡ‚ΠΎΠ²Π»Π΅Π½ΠΈΠ΅ ΠΈ ΠΏΠΎΠ΄Π΄Π΅Ρ€ΠΆΠΊΠ° Π²Π΅Π±-сайтов, Ρ€Π°Π·Ρ€Π°Π±ΠΎΡ‚ΠΊΠ° ΠΏΡ€ΠΎΠ³Ρ€Π°ΠΌΠΌΠ½ΠΎΠ³ΠΎ обСспСчСния, поисковая оптимизация