Change error pages GLOBALLY

#1
Hey,
First: My English is bad :p

I installed Cyberpanel with auto installer on a Centos 7 lxc container.
All works fine, but now i want to change the error pages to german...

I found a few tutorials how, but nothing about how to change it globally (not .htaccess!!) like in an apache2 conf with ErrorDocument 404 /error/4o4.html or so....

How can i do this, because i dont want to change it for each new site manually, and when the site owner puts his own and remove it, the default page (in english) will be shown? Ive already tried something like this:

Code:
rewrite{
blahblah
rewritefile /home/global/.htaccess
}

and put the ErrorDocument 404 (...) in the specified htaccess file, but that doesnt worked....
 
#2
Hi,

only rewrite rule works in OLS .htaccess

for custom error page, you should:

login webadmin, goes to virtual host, General , Customized Error Pages.

1.JPG
 
#3
That's exactly what I did not want ...
I do not want to set the error pages for each vhost individually, but change them globally so that a new vhost immediately has the new error pages, and all existing ones too. I would like to have the standard by default in German, and my customers do not want to change that and so ...

Translated by Google because of my excellent English (NOT) :p


EDIT: Sorry, i dont saw that you marked "Vhost Templates"....
 
Top