diff --git a/config/apache/standardebooks.org.conf b/config/apache/standardebooks.org.conf index b8872ac7..2355de28 100644 --- a/config/apache/standardebooks.org.conf +++ b/config/apache/standardebooks.org.conf @@ -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 diff --git a/config/apache/standardebooks.test.conf b/config/apache/standardebooks.test.conf index 6339917c..2794ca72 100644 --- a/config/apache/standardebooks.test.conf +++ b/config/apache/standardebooks.test.conf @@ -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 diff --git a/www/404.php b/www/404.php index d3c6b818..3d3f0ad6 100644 --- a/www/404.php +++ b/www/404.php @@ -1,7 +1,21 @@ 'We couldn’t find that document', 'description' => 'We couldn’t find that document.']) ?> -
-

We couldn’t find that document.

+ +?> 'We Couldn’t Find That Document', 'highlight' => '', 'description' => 'We couldn’t find that document.']) ?> +
+
+
+

We Couldn’t Find That Document

+

This is 404 error.

+
+ + + + A classical city is aflame as people scramble in the foreground. + +

We couldn’t find a document at the URL you specified. Did you mistype the URL?

+

If you arrived here from a link on the Standard Ebooks website, please contact us so that we can fix it.

+

If you arrived here from a link elsewhere on the web, please contact the site you came from to ask them to fix their link.

+
diff --git a/www/451.php b/www/451.php new file mode 100644 index 00000000..e16cea64 --- /dev/null +++ b/www/451.php @@ -0,0 +1,19 @@ + 'This Ebook Is No Longer Available', 'highlight' => '', 'description' => 'This ebook is unavailable due to legal reasons.']) ?> +
+
+
+

This Ebook Is No Longer Available

+

This is 451 error.

+
+ + + + A classical city is aflame as people scramble in the foreground. + +

This ebook is no longer available, due to legal reasons. This may occur if the book was erroneously thought to be in the U.S. public domain, but new evidence changed that determination.

+
+
+ diff --git a/www/images/blind-orion.avif b/www/images/blind-orion.avif new file mode 100644 index 00000000..7b9d9141 Binary files /dev/null and b/www/images/blind-orion.avif differ diff --git a/www/images/blind-orion.jpg b/www/images/blind-orion.jpg new file mode 100644 index 00000000..db1bf955 Binary files /dev/null and b/www/images/blind-orion.jpg differ diff --git a/www/images/blind-orion@2x.avif b/www/images/blind-orion@2x.avif new file mode 100644 index 00000000..dcfcae0b Binary files /dev/null and b/www/images/blind-orion@2x.avif differ diff --git a/www/images/blind-orion@2x.jpg b/www/images/blind-orion@2x.jpg new file mode 100644 index 00000000..e442ef68 Binary files /dev/null and b/www/images/blind-orion@2x.jpg differ diff --git a/www/images/the-course-of-empire-destruction.avif b/www/images/the-course-of-empire-destruction.avif new file mode 100644 index 00000000..51535048 Binary files /dev/null and b/www/images/the-course-of-empire-destruction.avif differ diff --git a/www/images/the-course-of-empire-destruction.jpg b/www/images/the-course-of-empire-destruction.jpg new file mode 100644 index 00000000..2f2e05ae Binary files /dev/null and b/www/images/the-course-of-empire-destruction.jpg differ diff --git a/www/images/the-course-of-empire-destruction@2x.avif b/www/images/the-course-of-empire-destruction@2x.avif new file mode 100644 index 00000000..a1495c81 Binary files /dev/null and b/www/images/the-course-of-empire-destruction@2x.avif differ diff --git a/www/images/the-course-of-empire-destruction@2x.jpg b/www/images/the-course-of-empire-destruction@2x.jpg new file mode 100644 index 00000000..8fbd44b1 Binary files /dev/null and b/www/images/the-course-of-empire-destruction@2x.jpg differ