ErrorDocument 400 /errordocument/400.php
ErrorDocument 401 /errordocument/401.php
ErrorDocument 403 /errordocument/403.php
ErrorDocument 404 /errordocument/404.php
ErrorDocument 500 /errordocument/500.php

<FilesMatch "^config.*\.php$">
    Require all denied
</FilesMatch>

Options -Indexes