Server move

Jim Green JFGREEN at CMS.CC.WAYNE.EDU
Wed Jul 23 16:27:40 EDT 1997


We are physically moving our web server from one building to another
on campus.  Of course that means it's going to get a new host name and
IP address too.

My tech support person tells me we are going to be able to alias the old
host name to the new one so all the links to the old host name won't be
broken.

I am using  <META HTTP-EQUIV="Refresh" CONTENT="5; URL=index2.html"> to
display a screen explaining that the site has moved.  After a few seconds,
it takes the user to the new URL.

My question is:  is there any way, using a cgi program or some other method,
to take users who are already pointing their browser to the new URL
straight to it, rather than the "site has moved" screen?  The cgi program
would have to know which URL the browser is requesting.

I looked through my cgi books to see if there is an environment variable
that captures this information, but I couldn't find one.  Can anyone out
there help me figure out a way to do this?  Thanks.

******************************************************
*    James F. Green                                  *
*    Systems Librarian                               *
*    Wayne State University/DALNET Systems Office    *
*    jfgreen at cms.cc.wayne.edu                        *
*    tel: (313) 577-6439  fax:  (313) 577-3615       *
******************************************************



More information about the Web4lib mailing list