Re: [users@httpd] ReWrite Directory

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

 



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



[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