Re: Apache alias or redirect?

Top Pagina
Bijlagen:
Bericht als e-mail
+ (text/plain)
+ (application/pgp-signature)
Delete this message
Reply to this message
Auteur: Bill Jonas
Datum:  
Aan: plug-discuss
Onderwerp: Re: Apache alias or redirect?
On Thu, Mar 04, 2004 at 01:00:59PM -0700, Alan Dayley wrote:
> So, I am going to try:
>
> Redirect /viewer/ http://thisserver/view/this/page/viewer.cgi
>
> to accomplish my goal. I'll see what it does.


You'll probably want to specify it as:

Redirect /viewer http://thisserver/view/this/page/viewer.cgi

instead. The other way would only redirect http://thisserver/viewer/,
which probably isn't what you want. Of course, I'm guessing that you
use URLs of the form
http://thisserver/view/this/page/viewer.cgi?file=foo/bar/blah, so you'd
want http://thisserver/viewer?file=foo/bar/blah, which wouldn't get
redirected since there's no trailing / after "viewer".

-- 
Bill Jonas    *        *    http://www.billjonas.com/
"It's a dangerous business, Frodo, going out your front door.  You step
into the Road,  and if you don't keep your feet,  there  is  no knowing
where you might be swept off to."  --  Bilbo Baggins