Thanks again, Paul
From: "Kishore Jalleda" <kjalleda@xxxxxxxxx> Reply-To: users@xxxxxxxxxxxxxxxx To: users@xxxxxxxxxxxxxxxx Subject: Re: [users@httpd] redirect debacle Date: Wed, 12 Apr 2006 19:05:08 -0400 I guess you need the Rewrite directive for what you are trying to acheive, as far as the syntax for Redirect goes Redirect [status] URL-path URL notice that the second argument is a URL-path which is supposed to be PATH (absolute or relative), and not a URL like you defined. There are two walk arounds for this 1) Go into the config section of http://csquared.stanford.edu/, and do this Redirect permanent / http://wilkinson.stanford.edu/csquared/ 2) Or use Mod_Rewrite to rewrite the URL Kishore Jalleda http://kjalleda.googlepages.com O n 4/12/06, Paul Constantine <paulconstantine@xxxxxxxxxxx> wrote: > I have an apache server running here: > > http://wilkinson.stanford.edu/ > > And there is a redirect somewhere (not on my system) that takes the > following url: > > http://csquared.stanford.edu/ >> to the same apache server. I would like to take requests that look are for> 'http://csquared.stanford.edu/' and send them to > > http://wilkinson.stanford.edu/csquared/ > > which is located at > > /var/www/html/csquared/ > > on my system. I tried the directive > > Redirect permanent http://csquared.stanford.edu/ > http://wilkinson.stanford.edu/csquared/ > > but that didn't work. > > Thanks in advance, > Paul Constantine > > > > ---------------------------------------------------------------------> The official User-To-User support forum of the Apache HTTP Server Project.> See <URL:http://httpd.apache.org/userslist.html> for more info. > To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx > " from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx > For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx > >
--------------------------------------------------------------------- The official User-To-User support forum of the Apache HTTP Server Project. See <URL:http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx " from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx