AFP548

ErrorDocument isnt working

I've setup the directive and it isnt working, when i get a 401 error it shows the apache default error page.. but it works for a 404 error.. weird huh ? any ideas ?

Here is how it is in my httpd.conf

ErrorDocument 401 http://intranet.cotrasa.com.br/error/error.php?code=401
ErrorDocument 404 http://intranet.cotrasa.com.br/error/error.php?code=404
ErrorDocument 500 http://intranet.cotrasa.com.br/error/error.php?code=500
Exit mobile version