Page 1 of 1

header() redirect

Posted: Fri Mar 28, 2008 6:16 pm
by evilchris2003
I am trying to redirect to a folder above the web root and cannot get it to work. I can get the file path from my cpanel but it doesnt seem to work. I assume this is because the www record for the domain points to public_html by default. Every thing I try I just get a 404 error and now im stumped

Any help is much appreciated
Chris

Re: header() redirect

Posted: Fri Mar 28, 2008 6:56 pm
by Christopher
You cannot reference above root. It's called root because it is the top. You should just include the file.

Re: header() redirect

Posted: Sat Mar 29, 2008 1:03 pm
by evilchris2003
Thanks for the info

Regards
Chris