-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Tapas Mishra wrote: > On Wed, Jun 9, 2010 at 5:27 PM, Tres Seaver <tsea...@palladion.com> wrote: >> The "best practice"[1] is to use mod_rewrite in conjunction with >> mod_proxy, e.g.: > Thanks for clearing that out. > >> RewriteEngine On >> RewriteRule ^/(.*) \ >> URLA/VirtualHostBase/http/%{HTTP_HOST}:80/rootfolder/VirtualHostRoot/$1\ >> [L,P] > Just one confusion about the syntax here > HTTP_HOST will be replaced by internal IP or hostname where Zope is > serving the pages > so should I use %{ } > or replaces it by the hostname
It will be the hostname that the browser requiested (the "Host:" header). >> http://betabug.ch/zope/witch > A lot of thanks for this link. You're welcome! Tres. - -- =================================================================== Tres Seaver +1 540-429-0999 tsea...@palladion.com Palladion Software "Excellence by Design" http://palladion.com -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAkwPqTMACgkQ+gerLs4ltQ6wgACePdqWEAjW2MwrI+w9QGqd2WbT ykYAn3yRgeRZe0jstlkiuuj6rzTOLgJG =rJ1U -----END PGP SIGNATURE----- _______________________________________________ Zope maillist - Zope@zope.org https://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - https://mail.zope.org/mailman/listinfo/zope-announce https://mail.zope.org/mailman/listinfo/zope-dev )