On Sat, Jan 23, 2010 at 3:56 PM, Reese <howel...@inkworkswell.com> 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
cove...@gmail.com

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

Reply via email to