We've just moved a site over onto a new box, and because of DNS lag time, we're forwarding all requests from the old server to the new one, using Apache, just until the DNS switches over:
Rewriterule ^(.*)$ http://newbox.domain.com/$1 [R]
For some reason (I think because newbox has a different ServerName attribute than the user asks for in Apache), it returns an HTTP 302 Found code when doing the login.
In other words, the user fills out their username and password on a form, which submits to http://newbox.domain.com/.
Am I right in saying that this is why I can't log into that page using PHP's session handling (session_start())?
-Antun