Re: Rewrite Voodoo pt. 2

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

 



On Sat, Jan 23, 2010 at 3:56 PM, Reese <howell.r@xxxxxxxxxxxxxxxx> wrote:
> On 23-Jan-10 10:38, Eric Covener wrote:
>
>> What's the full input URL that you're matching?
>
> The majority of links use string1.domain.ext/filenameDDMMYY.ext but
> a minority of links use www.domain.ext/string1/filenameDDMMYY.ext
>
> The desire was for a rule at domain.ext/.htaccess to catch the
> minority links when they come from elsewhere and redirect to
> string1.domain.ext/filenameDDMMYY.ext
>

Those aren't URLs.

The last rule you proposed is a no-op, because the pattern in your
RewriteRule is compared to the string "string1/filenameDDMMYY.ext" and
not to any longer string such as
"www.domain.ext/string1/filenameDDMMYY.ext" or
"http://www.domain.ext/string1/filenameDDMMYY.ext";


-- 
Eric Covener
covener@xxxxxxxxx

---------------------------------------------------------------------
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