[pmwiki-users] Make URLs not case sensitive?

BenWilson ameen at dausha.net
Fri Jan 28 08:46:33 CST 2005


Patrick R. Michaud wrote:
> On Fri, Jan 28, 2005 at 09:28:31AM -0800, Menachem Shapiro wrote:
> 
>>Could the RewriteEngine script to set up clean URLs be modified to
>>redirect to the page no matter what the case of the letters? (of
>>course this may cause problems if someone creates another page with
>>the same name but different cases)
> 
> 
> The problem is that the RewriteEngine has no way of knowing what the
> case of the page is supposed to be.  Given a URL like
> 
>    http://www.example.com/wiki/main/pagename
> 
> There are just too many combinations for the RewriteEngine to have
> to look at (and it can't just look at filenames, because there really
> isn't a file called "main/pagename" anywhere).
> 
> PmWiki will take "main/pagename" and at least automatically convert it 
> to "Main.Pagename", which is close but still doesn't help if the page
> itself was titled "PageName".

That would cause a lot of problems, unless you forced free links.

However, I think how PmWiki handles pages is fine. So, I would say if it 
is fixed, don't break it.

Ben



More information about the pmwiki-users mailing list