Custom Error Documents For A Subdomain?

scottnj

Verified User
Joined
Jul 9, 2005
Messages
6
How do I get custom error documents to work with subdomains?

I have a subdomain private.mysite.com and I want a custom 401 page.

Right now I have "ErrorDocument 401 /401.html" in both "public_html/.htaccess" and "public_html/private/.htaccess".
I also have the files "public_html/401.html" and "public_html/private/401.html" created.

But still:
If I try mysite.com/private it works.
If I try private.mysite.com it doesn't work.

How do I get this to work???
This is in a shared server (hostpc.com) so no root or *.ini access.
 
Back
Top