forked from 0x2620/pandora
use custom error page in apache template
This commit is contained in:
parent
ac393520ab
commit
c364520226
1 changed files with 6 additions and 0 deletions
|
@ -41,6 +41,12 @@
|
||||||
ErrorLog /var/log/apache2/pandora_error.log
|
ErrorLog /var/log/apache2/pandora_error.log
|
||||||
CustomLog /var/log/apache2/pandora_access.log combined
|
CustomLog /var/log/apache2/pandora_access.log combined
|
||||||
|
|
||||||
|
ErrorDocument 500 /srv/pandora/static/html/50x.html
|
||||||
|
ErrorDocument 502 /srv/pandora/static/html/50x.html
|
||||||
|
ErrorDocument 503 /srv/pandora/static/html/50x.html
|
||||||
|
ErrorDocument 504 /srv/pandora/static/html/50x.html
|
||||||
|
ErrorDocument 404 /srv/pandora/static/html/404.html
|
||||||
|
|
||||||
ServerSignature Off
|
ServerSignature Off
|
||||||
</VirtualHost>
|
</VirtualHost>
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue