[pmwiki-users] Make URLs not case sensitive?

Patrick R. Michaud pmichaud at pobox.com
Fri Jan 28 14:04:49 CST 2005


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".

Pm



More information about the pmwiki-users mailing list