Custome error pages

I cannot find any documentation on virtualmin regarding custom error pages. So what I have done is use the .htaccess with the following instructions.
------------
#To enforce or deny complete folder listing, use *
IndexIgnore *

ErrorDocument 400 /error_docs/bad_request.html
ErrorDocument 401 /error_docs/unauthorized.html
ErrorDocument 403 /error_docs/forbidden.html
ErrorDocument 404 /error_docs/not_found.html
ErrorDocument 500 /error_docs/internal_server_error.html

order allow,deny
allow from all

deny from x.x.x.x # test
-------------------------

The problem is that it is showing the test page of /etc/httpd/conf.d/welcome.conf instead of /error_docs/forbidden.html

if it is a 404 or anything else it shows:

Forbidden

"You don't have permission to access /y on this server.

Additionally, a 403 Forbidden error was encountered while trying to use an ErrorDocument to handle the request."

If the viwer's ip is not blocked it works fine, but pointless if I am trying to showed a custom error page to a blocked IP.

Is there anyway around this other than editing the "/etc/httpd/conf.d/welcome.conf" file?

Status: 
Closed (fixed)