Forum

Using same ErrorHandler for multiple virtual hosts

AxAn
9 November 2016, 10:08
Hi,

Is there a way to use the same custom error-page for multiple/all virtual hosts?
As I understand it the ErrorHandler setting can only be used to point out a file under the host is is configured.
I tried something like this, but it did not work:
ErrorHandler = 404:/../../error.php?code=404
Hugo Leisink
9 November 2016, 15:18
No, at this moment, it is a per-virtualhost setting and it needs to be inside your virtual host. It must be seen as a replacement for the actual URL.
This topic has been closed.