Cheap Web Space, Domain Name:
Web Space With E-Mail, PHP/MySQL.

How can I use .php files as individual error pages?

Question: 

Searching …

 

Unfortunately nothing found on "".

Premium support for Bitpalace web hosting customers only!

 from the Dominican Republic: +49 30 32 70 18 92, Fax (in Germany) +49 30 32 70 18 91

service@bitpalast.net 

Skype: bitpalast

One moment please … your browser is loading the page.

 

 

Symptom

You want to use your own error documents, but do not create them as .html pages, but as .php scripts so that dynamic content can be delivered. When the error pages are requested, the web browser displays a 404 Not Found message.

 

Cause

By default, the Apache web server is not designed to provide error documents as dynamic pages. Special adjustments to the configuration of Apache and the upstream Nginx reverse proxy are necessary.

 

Solution

The following statement must be added to the Apache SSL and non-SSL configurations:

ProxyErrorOverride on

The following statement must be added to the Nginx configuration:

fastcgi_intercept_errors on;

You cannot make these configuration changes yourself. They must be set up in the host's web server configurations and can only be initiated by our support. For Bitpalace customers, of course, for free. Please contact Bitpalace support.

 

Overview of frequently asked questions 

 

 

 


 

  from the Dominican Republic: +49 30 32 70 18 92 •  GmbH, Sensburger Allee 27, D-14055 Berlin (Germany)
Your purchase is tax-free, because you order from a non-EU country. © 2024  GmbH. All rights reserved. and the logo are registered trademarks of GmbH. For photo credits see imprint.

Imprint Privacy policy Sitemap