    RewriteRule ^(.*)$ - [E=BACKEND_LOCATION:%(zope_host)s]
    RewriteRule ^(.*)$ - [E=BACKEND_PORT:%(zope_port)s]
    RewriteRule ^(.*)$ - [E=BACKEND_PATH:%(zope_path)s]

    RewriteRule  ^/(.*)/$ http://%(squid_localisation)s:%(squid_port)s/%%{ENV:BACKEND_LOCATION}/%%{ENV:BACKEND_PORT}/%(proto)s/%%{SERVER_NAME}/%(port)s/%%{ENV:BACKEND_PATH}/__original_url__/$1 [L,P]
    RewriteRule  ^/(.*)$ http://%(squid_localisation)s:%(squid_port)s/%%{ENV:BACKEND_LOCATION}/%%{ENV:BACKEND_PORT}/%(proto)s/%%{SERVER_NAME}/%(port)s/%%{ENV:BACKEND_PATH}/__original_url__/$1 [L,P]
