I have https and http located in two seperate folders as opposed to running both from the same place to keep everyone from looking at unnessisary files under 128 bit if there is no reason.
Looking to send 404's from our secure site to our non secure site so that we don't have to reproduce all of the files for things that don't need to be secure. Basically I need to keep track of where the user wanted to go (../somedir/somefile.php) and if it doesn't exist in the https dir send the browser to the same file in the http dir with a header("Location: $right_place") in the file that the 404 goes to.
Can anyone tell me if this is even possible or if there is already a better way to handle this that I havn't discovered yet.
Thanks,
nE$min