I have a custom 403 page forbidden.php
I have added it to .htaccess but not working
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^notfound\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /notfound.php [L]
ErrorDocument 403 . /forbidden.php
</IfModule>
<Files 403.shtml>
order allow,deny
allow from all
</Files>
I have also tried:
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^notfound\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /notfound.php [L]
</IfModule>
<Files forbidden.php>
order allow,deny
allow from all
</Files>
What am I missing. .htaccess is not my strong point