httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From PMilan...@nypl.org
Subject RE: [users@httpd] ReWrite Directory
Date Wed, 09 Mar 2005 12:52:11 GMT
Alright then.

RewriteRule   ^/test(/|$)   http://www.blah.com/Test

The point was that details were not provided.

> -----Original Message-----
> From: sitz@onastick.net [mailto:sitz@onastick.net]
> Sent: Tuesday, March 08, 2005 3:46 PM
> To: users@httpd.apache.org
> Subject: Re: [users@httpd] ReWrite Directory
> 
> On Tue, Mar 08, 2005 at 02:52:09PM -0500, PMilanese@nypl.org wrote:
> > You say you tried everything... What did you try? After asked, you did
> not
> > respond with this information.
> >
> > RewriteEngine on
> > RewriteRule   ^/test   http://www.blah.com/Test
> >
> > Should work.
> 
> Actually, this is potentially a bad idea, since it will also rwdirect
> the following:
> 
> /testers
> /test_thingy
> /testosterone_composition
> 
> Additionally, issuing a 302 may or may not be the proper way to go with
> this. It has the advantage of showing the browser the 'correct' URL and
> the disadvantage of effectively doubling traffic to the /[tT]est URL,
> which the server may or may not be able to handle.
> 
> --noah
> 
> --
> <huey> dd of=/dev/fd0 if=/dev/flippy bs=1024
> <huey> ^^^ Making Flippy Floppy
> 
> 
> ---------------------------------------------------------------------
> 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@httpd.apache.org
>    "   from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org


---------------------------------------------------------------------
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@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message