Problem Using PHP for Server Files Redirect

From: JDJones (
Date: 11/13/03

Date: Thu, 13 Nov 2003 03:08:24 GMT

We are trying to set up a PHP page to handle server requests for
individual web pages that we are moving to a new server. The part that
complicates this procedure is that the files will not be mirrored on the
new server. Instead many will be residing in new directories and
subdirectories than they were in on the old server.

What we wanted to do was when someone requested a specific page from our
old server, it would recognize the non-existent page and send it to the
redirect.php page that we created. That part works fine. Unfortunately,
PHP is unable to see what page originally was requested. I thought it
would see one page back, but it doesn't.

Is there any way to get the redirect.php to identify what the called for
page was so it can redirect it forward to the place the file resides in
on new server properly? I know this would be simple if this was from a
form but it's not.

Any suggestions would be appreciated.

Relevant Pages

  • Re: [PHP] Re: http request problem
    ... while i am trying to access to another file, from another server it run ... this is the error message i get: ... browser on the same network where it fails in the PHP script? ... know your requests actually hit the server, ...
  • Re: [PHP] Re: http request problem
    ... however i did try to access other jsp file from the same server, ... i don't know why i keep getting the same error message file accessing ... browser on the same network where it fails in the PHP script? ... know your requests actually hit the server, ...
  • Re: What doesnt lend itself to OO?
    ... > system design within that context seriously). ... >>The first line exists in the server. ... > objects between client and server i.e. as far as the client code is ... the message data packet data in the server between requests, ...
  • Re: Client Server and Throttling
    ... Kernel paged pool is limited by the reserved area of address space, ... resources are allocated for the requests. ... When outlook PST files are located on a ... the server may run out of paged pool, ...
  • Re: [Full-disclosure] Arbitrary DDoS PoC
    ... make multiple requests for just one of your requests, ... its resources to flood the targets resources. ... Not trying to really argue your examples, I'm just saying his script and ... intensive script/page on that server. ...