Posted by Jonathan N. Little on 11/12/07 17:11
BootNic wrote:
> "Jonathan N. Little" <lws4art@centralva.net> wrote: news:a9063$4738827b
> $40cba7a5$12517@NAXS.COM:
>
>> BootNic wrote:
>>
>>> You could try to use RedirectMatch in your .htaccess:
>>>
>>> RedirectMatch 301 (?i)^(.*)\.html(.*)$ $1.php$2
>> What is this part? ^^^^
>
> (?i) is case-insensitive matching
>
Ah! Unfamiliar with that one. But what good would case-insensitive
matching do when you are passing the basename through? Somefile.php
SomeFile.php, and SOMEFILE.php won't works if the file name is somefile.php
I would think case-insensitive matching would be useful is you are not
parsing the name
RedirectMatch 301 (?i)^THISFILE.HTML$ thatfile.php
--
Take care,
Jonathan
-------------------
LITTLE WORKS STUDIO
http://www.LittleWorksStudio.com
[Back to original message]
|