Yup. There is no need for the rewrite engine. Just use a different vhost
with the redirect. Clean and simple.
/me whacks EdK for using a sledgehammer all the time... :-)
Cheers,
-g
On Thu, Aug 28, 2003 at 04:55:16PM -0700, Brian Behlendorf wrote:
>
> Redirect already does the matching of the end piece; that is, the piece I
> proposed will redirect http://webservices.apache.org/blahblah to
> http://ws.apache.org/blahblah.
>
> Brian
>
> On Thu, 28 Aug 2003, Daniel Rall wrote:
> > That would avoid mod_rewrite, and conceptually might be a better idea.
> > I don't know enough about httpd's internals to say definitively (adding
> > infrastructure@ for comment), but assuming it is preferred, something
> > like this would catch all URLs:
> >
> > RedirectMatch permanent ^/(.*)$ http://ws.apache.org/$1
> >
> > Brian Behlendorf wrote:
> > > You could have also just created a vhost section specifically for
> > > webservices.apache.org, and placed a single
> > >
> > > Redirect / http://ws.apache.org/
> > >
> > > but this works too, looks like.
> > >
> > > Brian
--
Greg Stein, http://www.lyra.org/
|