Reverse proxying Mediawiki
am 29.01.2010 09:33:57 von Mickael CANEVET--=-Uxg7ioO2UyIFuLNPRggl
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Hi,
I try to put a Mediwiki powered website behind a reverse proxy.
It works well while there is no space in URL
(http://mydomain.tld/wwi/index.php?title=3DMain_Page for example), but
when there is a space on URL
(http://mydomain.tld/wwi/index.php?title=3DMain Page for example), it does
not work (the URL is rewritten in
(http://mydomain.tld/index.php?title=3DMain_Page ).
I think I misconfigured mod_proxy_html.
Here is my configuration file:
BalancerMember http://172.26.9.223:8080 # Backend server hosting
Mediawiki
BalancerMember http://172.26.9.224:8080 # Backend server hosting
Mediawiki
ProxyPreserveHost On
ProxyPass /wwi/ balancer://wwi/
ProxyHTMLURLMap balancer://wwi/ /wwi
ProxyPassReverse /
ProxyHTMLEnable On
ProxyHTMLExtended On
ProxyHTMLURLMap /index.php /wwi/index.php
ProxyHTMLURLMap /redirect.php /wwi/redirect.php
ProxyHTMLURLMap /skins/ /wwi/skins/
ProxyHTMLURLMap /images/ /wwi/images/
RequestHeader unset Accept-Encoding
Can anybody help me please ?
Thanks a lot in advance.
Mickaël
--=-Uxg7ioO2UyIFuLNPRggl
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: This is a digitally signed message part
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
iEYEABECAAYFAktinXUACgkQZjBmN5Hi/YZkgQCfVr0PjpMcahsZFOtfNUK9 w3nN
BbMAnRQgsywDXjgtBKmcu9Avd50CAiE0
=sKTs
-----END PGP SIGNATURE-----
--=-Uxg7ioO2UyIFuLNPRggl--