title: How to set up 403 error custom html page in codeigniter
body: <p>i had already restrict the images and pdf from direct URL Like If anyone enter direct url of image <code>http://localhost/project/images/home.PNG</code>
  Then It Will Be Redirect On 403 Page but i want to set new html for this error just like 404 so how can i do this </p>
  
  <pre><code>RewriteEngine on 
  RewriteCond %{HTTP_REFERER} !^http://(www\.)?localhost/project [NC] 
  RewriteCond %{HTTP_REFERER} !^http://(www\.)?localhost/project.*$ [NC] 
  RewriteRule \.(jpg|pdf|png|gif|PNG)$ - [F]
  </code></pre>
  
  <p>This is How i restrict the images from folder please suggest me how to show custom html for 403 Error.</p>