[nylug-talk] IIS/Windows to Apache/Linux conversion problems (case insensitivity)
Ah Pook
ahpook at verizon.net
Wed Jul 11 17:59:25 EDT 2007
On Wednesday 11 July 2007 5:27 pm, Chandhee Thala wrote:
> Option 1:
>
> Fix all references in HTML/code that refer to this URLs. If
> it was pure HTML, I'm sure a find+grep+sed on the pages would fix it,
> but a) there are about 300k references to these URLS and b) a lot of
> these references are in compiled web code that we would have to fix
> the sources for and recompile.
>
> Option 2:
>
> In the Apache conf file put in a mod speling or rewrite (not
> sure which one is more appropriate for the task) directive
> that folds the case for every request. I'm certain this is doable
> (though I don't know how), but the only concern that I have is that
> this would put significant load on what is supposed to be a static
> images server.
How about do Option 2, so your site continues to work (important, I'm
sure), and then do Option 1 as you can. The rewrite rule(s) will still
work when the links are correct, and then you can just take out the
rules when everything's spiffy.
What's the server load like now? rewrite shouldn't add too much
overhead.
More information about the nylug-talk
mailing list