Use the Apache rewrite module (mod_rewrite.so). Here's how I redirect from webmail.domain1.com to https://webmail.domain2.com RewriteEngine On RewriteRule /.* https://webmail.domain2.com/ [R] Just put the full path of the URL in your Rewrite rule. -Lucas ----- Original Message ----- From: "DCT Jared Smith" To: Sent: Monday, August 26, 2002 2:23 PM Subject: Apache redirect > Forwarded message from Seth Dimbert: > > <>-<>-<>-<>-<>-<>-<>-<>-<>- > > I've got a problem. > > A site I administer went bad and I'm in the process of rebuilding it. When I > decided to recreate it using a CMS, I placed the entire kit and kaboodle in > /public_html/pub/html for reasons that made sense at the time. Right now, > index.html sits in /public_html/ saying, "Just you wait! The new site is > gonna be great!" > > Problem is, when the new site goes live, no one will know how to get to it > because it's buried down in /public_html/pub/html/. I *know* that the > solution is a "redirection," but I don't know how to do it. > > 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? > > -SD > > > > > >