My ErrorDocument redirect doesn't appear to be working!
Here is the bottom of my sites-available file:
... </Directory> ErrorLog /var/log/apache2/error.log # Possible values include: debug, info, notice, warn, error, crit, # alert, emerg. LogLevel warn CustomLog /var/log/apache2/access.log combined ErrorDocument 403 /403.php ErrorDocument 404 /404.php </VirtualHost>
If you go to 18.104.22.168/404.php, the error page appears correctly, however, when you go to 22.214.171.124/asdf.php, I just get the bog standard 404 error...
Any insight greatly appreciated,