[Zope] Handling of wrong URLS

seb bacon seb@jamkit.com
12 Dec 2001 11:29:29 +0000


If you're using apache, look into mod_speling.

It will do this for you transparently.

seb

On Wed, 2001-12-12 at 11:09, Tille, Andreas wrote:
> Hello,
> 
> I'm in the process of porting plain HTML pages to Zope.  The bad thing
> is that the creators of the pages had the bad habit to spell their
> URLs with capital letters.  Example:
> 
>       http://www.our-ugly-site.de/THIS/IS/AN/EXAMPLE.HTM
> 
> I want to get rid of this and will replace it by:
> 
>       http://www.our-nice-site.de/this/is/an/example.htm
> 
> But if users have bookmarks or something else they can not reach our
> new nice pages and so I wonder, if I could render a more informative
> page than
> 
>       Site Error
> 
>       An error was encountered while publishing this resource.
> 
>       Resource not found
>       Sorry, the requested resource does not exist.
> 
>       Check the URL and try again.
> 
>       Resource: http://www.our-nice-site.de/THIS/IS/AN/EXAMPLE.HTM
> 
> At first I could place a hint to the new convention.  At second I
> wonder if I would implement a little script which converts the
> URL into lower case letters and suggest to try this one.
> 
> Any idea how to do this?
> 
> Kind regards
> 
>          Andreas.
> 
> _______________________________________________
> Zope maillist  -  Zope@zope.org
> http://lists.zope.org/mailman/listinfo/zope
> **   No cross posts or HTML encoding!  **
> (Related lists - 
>  http://lists.zope.org/mailman/listinfo/zope-announce
>  http://lists.zope.org/mailman/listinfo/zope-dev )