I have enabled basic authorisation on the root folder of my site (only pre-launch) and I have changed the error documents to custom ones that I have made. The problem is that if the person doesn't enter authentication then they cant get to the error documents and so receive the standard authorisation required error page! Is there a way to say in the htaccess - "block all site except for the error folder" ??
I am using below:
Can i put the above code between "file" tags or something?
the errordocs are in /home/squaresa/public_html/errordocs