Add 451 page and prettify the 404 page

This commit is contained in:
Alex Cabal 2022-07-24 14:12:37 -05:00
parent 620c2c983f
commit e2dcf97961
12 changed files with 38 additions and 3 deletions

View file

@ -78,6 +78,7 @@ Define webroot /standardebooks.org/web
ServerAlias www.${domain}
DocumentRoot ${webroot}/www
ErrorDocument 404 /404
ErrorDocument 451 /451
ErrorLog /var/log/local/www-error.log
DirectorySlash Off
RewriteEngine on

View file

@ -61,6 +61,7 @@ Define webroot /standardebooks.org/web
ServerAlias www.${domain}
DocumentRoot ${webroot}/www
ErrorDocument 404 /404
ErrorDocument 451 /451
ErrorLog /var/log/local/www-error.log
DirectorySlash Off
RewriteEngine on