[Zope] Any apache Rewrite experts out there?

Mike Renfro renfro@tntech.edu
Tue, 7 May 2002 08:36:11 -0500


On Tue, May 07, 2002 at 03:50:44PM +0300, Jokke Heikkil? wrote:

> Below is the httpd.conf file as it is now, but it won't rewrite /~user
> requests right. 

> RewriteEngine On
> 
> Rewriterule /~(.+) http://users.domain.com/~$1  [R,L]

My regexp is "RewriteRule ^/~(.*) -"

from http://www.zope.org/Members/mwr/VHosts_With_Zope_Default ; I'd
have to look up the details of the differences between your version
and mine in a regex book, but it's definitely working for me.

-- 
Mike Renfro  / R&D Engineer, Center for Manufacturing Research,
931 372-3601 / Tennessee Technological University -- renfro@tntech.edu