CodeIgniter如何使403禁止页面显示相同的默认页面

Default inside CINotice that inside every folder in CI have an html page called 'index.html' which contain

<!DOCTYPE html>
<html>
<head>
<title>403 Forbidden</title>
</head>
<body>
<p>Directory access is forbidden.</p>
</body>
</html>

and thus if you open the folder using the url it will produce the access forbidden page as shown in my image above. However when I copy pasted the index.html into another new folder that is created by me, it showed the page below image. I want it to show the page exactly as the one created by codeigniter, which file do I need to configure to make the page show the forbidden page like that ?

Created my own

I figured it out, should have copied the .htaccess file too.