PDA

View Full Version : custom 403 not working



MarkTrav
28 Sep 2009, 01:01 PM
Hey.
I'm trying to create a custom 403. ive edited the .htaccess file. I have added the following lines in:

ErrorDocument 404 /404.html
ErrorDocument 403 /403.html

the 404 works perfectly. I just cant get the 403 to work. any ideas???

I'm using Cpanel X. I think the reason this is not working is because the index listings are probably not forbidden in the server's main configuration file. I cant find this file. Or maybe there is an area in Cpanel X I can edit??


thanx sooo much!!

MarkTrav
29 Sep 2009, 10:32 AM
nevermind.. i figured out my problem.. i just needed to add Options -indexes to the .htaccess file.. =)