diff --git a/.htaccess b/.htaccess index d5103ae..e7394d7 100644 --- a/.htaccess +++ b/.htaccess @@ -1,3 +1,8 @@ +# Custom error pages +ErrorDocument 403 /403.php +ErrorDocument 404 /404.php +ErrorDocument 500 /500.php + # Security Rules for UK Data Services # Protect sensitive files and configs diff --git a/403.php b/403.php index e835716..61adc06 100644 --- a/403.php +++ b/403.php @@ -10,7 +10,10 @@ http_response_code(403); Access Forbidden - UK Data Services - + +