[Zope] Apache rewrite

Alexander Limi alexander@limi.net
Wed, 24 Nov 1999 20:18:58 +0100


I currently have the following structure in my Zope DB:

root
 |
 |->articles
 |
 |->artists
 |    |
 |    |-> artist1
 |    |-> artist2
 |    |-> etc...

I want to make it possible to write http://domain.com/artist1 and be sent
to artist1 in the artists directory transparently. I figure the easiest way
to do this is in Apache via mod_rewrite (correct me if I'm wrong, please :)

A solution where all queries to http://domain.com/something would be sent
into the artists directory with an exception for http://domain.com/articles
would be sufficient.

How do I do this in Apache? mod_rewrite is pretty cryptic (for me atleast,
apache is not among my most-used applications :) and I'm not even sure if
mod_rewrite is the best way of solving it.

Any takers?

Regards,


Alexander Limi