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