it's a raspberry pi


 Setups & configurations

anchor life saver

 We got some boring movies

🎥 Cinematique

 Regarding unity3d

🙂 In-game char icons

 All about pirate games

⚓ Pirates ahoy!

 This is German language

💻 Linux -
Windward bathtub
Tasharen Windward Game

 Social news aggregation

🌍 Windward #reddit
Windward intensive

 Official Windward wiki

🛠 Wiki @gamepedia
Front desk clerk

No ads, no trackers,
no web beacons

rum barrel
Something else

 Get the weather widget

🌤 Weather code snippet

 Hotchpotch of weblinks

📖 Yellow pages
Tag cloud

Apache web server - error document handler

Apache Setup Raspberry Pi mini computer to dedicated game server. LAMP. Apache Raspberry Pi mini computer. Dedicated game server.

That is simply just another http web server powered by Apache Software
and the Raspberry Pi Foundation with Raspbian Debian OS Stretch Lite on it. says : Although the Apache http Server provides generic error responses in the event of 4xx or 5xx http status codes, these responses are rather stark, uninformative, and can be intimidating to site users. You may wish to provide custom error responses which are either friendlier, or in some language other than English, or perhaps which are styled more in line with your site layout.

Now we assume you run a web server service on a Raspberry Pi with Apache 2.4.x installed.

You added a  .htaccess  file to the document root  /var/www/html 
and  ErrorDocument 404 /var/www/html/404.html   is still not showing up?

          ErrorDocument 404 /404.html
Launch PuTTy, log-in to your Raspi and type

user@raspberry:~ $ sudo su
root@raspberry:~# nano /etc/apache2/apache2.conf

For any solutions without using a .htaccess file

          <Directory />
          AllowOverride None
          <Directory />

Change AllowOverride from None to FileInfo and put ErrorDocument 404 /404.html the line below.

          AllowOverride FileInfo
          ErrorDocument 404 /404.html
Save Crtl O the file  apache2.conf  and close Crtl X the nano editor. Perform a restart.

root@raspberry:~# service apache2 restart

For any solutions using a .htaccess file

Please visit this page.

03-Jul 2017

Hafenzoll 2019