[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Zope] Any apache Rewrite experts out there?


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@xxxxxxxxxx


_______________________________________________
Zope maillist  -  Zope@xxxxxxxx
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 )



This mailing list archive is a service of Copilotco.