Skip to content

Commit

Permalink
Make htaccess and 404 ErrorDocument work again
Browse files Browse the repository at this point in the history
Drop unused error files.
  • Loading branch information
zeha committed Dec 11, 2024
1 parent c421213 commit aec309c
Show file tree
Hide file tree
Showing 9 changed files with 6 additions and 75 deletions.
3 changes: 3 additions & 0 deletions .htaccess → static/.htaccess
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,6 @@ RewriteEngine on
RewriteRule index.rss$ http://blog.grml.org/feeds/index.rss2
RewriteRule news(/?)$ /
AddDefaultCharset UTF-8

ErrorDocument 404 /errors/404.html

8 changes: 3 additions & 5 deletions static/errors/404.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
<meta name="Description" content="Michael Prokops Fehlerseite!">
<meta name="Robots" content="index,follow">
<meta name="Language" content="english">
<meta name="identifier-url" content="http://grml.org/errors/404.html">
<style type="text/css">
body {font-family: Verdana, Arial, Helvetica, sans-serif; color: #333333}
a {color: #333333}
Expand All @@ -33,7 +32,7 @@

<div align="center">
<p>&nbsp;</p>
<img src="http://grml.org/errors/404.png" alt="*">
<img src="/errors/404.png" alt="*">

<h2>Sorry, the requested page couldn't be found!</h2>

Expand All @@ -45,9 +44,8 @@ <h2>Sorry, the requested page couldn't be found!</h2>

</div>

<p>Also take a look at the <a href="http://blog.grml.org/">grml blog</a>,
<a href="http://planet.grml.org/">planet.grml.org</a> and the <a
href="http://wiki.grml.org/">grml-wiki</a>.</p>
<p>Also take a look at the <a href="https://blog.grml.org/">grml blog</a>
and the <a href="http://wiki.grml.org/">grml-wiki</a>.</p>

</div>

Expand Down
Binary file removed static/errors/404/404.png
Binary file not shown.
Binary file removed static/errors/404/error.png
Binary file not shown.
54 changes: 0 additions & 54 deletions static/errors/404/index.html

This file was deleted.

Binary file removed static/errors/404/tux.png
Binary file not shown.
16 changes: 0 additions & 16 deletions static/errors/500.html

This file was deleted.

Binary file removed static/errors/error.png
Binary file not shown.
Binary file removed static/errors/tux.png
Binary file not shown.

0 comments on commit aec309c

Please sign in to comment.