RE: [users@httpd] ReWrite Directory

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Alright then.

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

The point was that details were not provided.

> -----Original Message-----
> From: sitz@xxxxxxxxxxxx [mailto:sitz@xxxxxxxxxxxx]
> Sent: Tuesday, March 08, 2005 3:46 PM
> To: users@xxxxxxxxxxxxxxxx
> Subject: Re: [users@httpd] ReWrite Directory
> 
> On Tue, Mar 08, 2005 at 02:52:09PM -0500, PMilanese@xxxxxxxx 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@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



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux