I have domain.com and sub.domain.com
The root path of domain.com is /path/to/root
The root path of sub.domain.com is /path/to/root/sub
Because of this path configuration a user can type www.domain.com/sub but they get a 403 error.
How can I avoid that? So if a user types www.domain.com/sub is redirected to sub.domain.com instead of a 403 error? Can I do this with mod_rewrite? How?
Thank you very much
Max
The one with Mac OS X Server 10.4 :)
The root path of domain.com is /path/to/root
The root path of sub.domain.com is /path/to/root/sub
Because of this path configuration a user can type www.domain.com/sub but they get a 403 error.
How can I avoid that? So if a user types www.domain.com/sub is redirected to sub.domain.com instead of a 403 error? Can I do this with mod_rewrite? How?
Thank you very much
Max
The one with Mac OS X Server 10.4 :)