httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Warhurst, SI (Spencer) " <>
Subject RE: [users@httpd] Case Sensitivity
Date Fri, 19 Sep 2003 14:53:59 GMT
> -----Original Message-----
> From: Robert Andersson []
> Sent: 19 September 2003 12:40
> To:
> Subject: Re: [users@httpd] Case Sensitivity
> Warhurst, SI (Spencer) wrote:
> > I am probably missing your point here, but doesn't [NC] 
> make a rewriterule
> > case insensitive?
> Yes, but only the matching part. There is no such thing as a
> "case-insensitive string"; a character must have a case. The final
> filesystem path generated by the rule must exist. On *nix, 
> 'abc' and 'aBc',
> is just as different as 'abc' and 'def'.
> (from the other message):
> > >     AliasMatch ^/(?i)(?!(help|news|etc))(.*) d:/www/lists/$1.html
> >
> > Things got rather messy when I applied that.. ie: images & 
> stylesheets not
> > appearing on various web pages etc.
> You would need to exclude their inital paths as well.

Couldn't get it to work satisfactorily and it was a bit of a messy way of
doing it.. however, got your rewriterule suggestion working with:

RewriteCond d:/www/lists%{REQUEST_URI}.html -f
RewriteRule ^/(.+)$$1.html [R]

Works nicely and doesn't seem to have impacted the performance of the server
(trawling through 8,000+ aliases probably added some workload to Apache
anyway, and now it doesn't have to do that).



The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message