Apache redirect

Dustin Decker dustind at moon-lite.com
Mon Aug 26 19:47:20 CDT 2002


On Mon, 26 Aug 2002, DCT Jared Smith wrote:

> Basically, I need a call to www.domain.com to send the browser to
> www.domain.com/foo/bar/ in a way that the user won't even notice. I have to
> do this because I can't simply move the folders; paths would break.
> 
> This is simple, right? How do I do it?

<TITLE>Redirect</TITLE>
Redirecting you to main page...
<META HTTP-EQUIV=Refresh CONTENT="1;URL=http://new_url_goes_here">

You can stick the above in index.html, changing the url to reflect where 
they should be sent.  The numeral 1 indicates how long the page will 
wait to do the redirect.
Dustin

-- 
*-----------------------------------*
| Dustin Decker                     |
| dustind at moon-lite.com       *------------------------------------------*
| http://www.dustindecker.com | "I note that the President recently      |
| Moon-Lite Computing         | said that critics had 'misunderestimated'|
| 913.579.7117                | him.  We elected the symbol of Ebonics   |
*-----------------------------| to the Presidency of this nation.  There |
                              | ain't no brother in Oakland, or anywhere |
                              | else, that would run the phrase or mix   |
                              | up words like this cat does.  It raises  |
                              | serious questions about whether he's     |
                              | white.                                   |
			      | -- Willie Brown, Democratic Mayor of San |
			      | Francisco regarding George Bush Jr.      |
                              *------------------------------------------*




More information about the Kclug mailing list