[Zope] zope behind apache reverse proxy css and images broken using eduCommons
Tres Seaver
tseaver at palladion.com
Wed Jun 9 10:46:15 EDT 2010
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Tapas Mishra wrote:
> On Wed, Jun 9, 2010 at 5:27 PM, Tres Seaver <tseaver at 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 tseaver at 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-----
More information about the Zope
mailing list