Perhaps you could give me some hints for doing this with mod_rewrite, if you
have previous experience? It looks quite involved.
Thanks again,
Paul
From: "Kishore Jalleda" <[EMAIL PROTECTED]>
Reply-To: users@httpd.apache.org
To: users@httpd.apache.org
Subject: Re: [EMAIL PROTECTED] 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 <[EMAIL PROTECTED]> 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: [EMAIL PROTECTED]
> " from the digest: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
---------------------------------------------------------------------
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: [EMAIL PROTECTED]
" from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]