Thank you Dieter, At 10:57 PM 6/16/2003 +0200, Dieter Maurer wrote:
Danny W. Adair wrote at 2003-6-16 12:33 +1200:
... I'm running into some problems having Apache Rewrite -> Virtual Host Monster and an Access Rule _at the same time_. .... -------------------------- Access Rule "extractCustomerFromURL" -------------------------- request = container.REQUEST stack = request['TraversalRequestNameStack'] customer_id = stack.pop() request.set('customer_id', customer_id) request.setVirtualRoot(request.steps + [customer_id])
You AccessRule should almost surely not use "setVirtualRoot" but modify "stack" directly. Otherwise, it interferes with the "virtual root" set by VHM.
Yep, I realize that now. :-) I just copied from the "session variable" example, which doesn't mention possible interference with an existing VHM. Cheers, Danny
Dieter