Custom error messages outside public directories


#1

So I used The .htaccess way to create my error pages, and it works great.

However, I would like to place them in the root of my server.

My web directory is:
| /home/user/subdomains/www/www/

The files are currently placed in:
| /home/user/subdomains/www/www/err/
which means I can see them at:
| mydomain.com/err/err.php?err=code

The goal is to place them in:
| /home/user/err

That way:
[list=1]
[]They can be shared accross my subdomains
[
]They cannot be accessed directly by typing a URL
[/list]

Is this doable or am I asking for too much?

Thanks!

Simo