[Zope] - How to circumvent url to object mapping ?

Andreas Kostyrka andreas@mtg.co.at
Sat, 16 Jan 1999 16:48:06 +0100 (CET)


On Sat, 16 Jan 1999, Guido Sohne wrote:

> I want to have a URL called say,
> 
> http://www.webstar.com.gh/articles/1998/01/15/Ashanti_Records_Record_Revenues
> 
> which should map to a python method/object that queries an external 
> database with the arguments 1998+01+15+Ashanti_Records_Record_Revenues
> 
> Is there a way to do this with using Apache rewrite rules ?
RewriteRule /articles/([^/]*)/([^/]*)/([^/]*)/(.*) /myMethod?date=$1-$2-$3&value=$4

It's just from memory, but that's what it should be :)

Andreas
-- 
Win95: n., A huge annoying boot virus that causes random spontaneous system
     crashes, usually just before saving a massive project.  Easily cured by
     UNIX.  See also MS-DOS, IBM-DOS, DR-DOS, Win 3.x, Win98.