Question: Different server behind path

Question: Different server behind path

am 10.11.2009 10:28:18 von Martijn Moret

Hi all,

I have quitte some Apache httpd experience but I am not sure how to solve this question from my company:

We have a corporate site at: http://www.example.com
We are implementing a new webshop and our Marketing dep. decided om: http://www.example.com/order

Due to the nature of the requests and for performance, I would like to host the web shop on two different webservers.
I thought of mod_proxy to create a reverse proxy on the webservers of example.com.

Are there any other ways to achieve this?
They do not want to expose a different name then www.example.com/order

Thanks in advance
Martijn

------------------------------------------------------------ ---------
The official User-To-User support forum of the Apache HTTP Server Project.
See for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org

Re: Question: Different server behind path

am 10.11.2009 10:55:50 von Mark Watts

--=-E+ijKPi9JKVhU+Eiu37C
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable

On Tue, 2009-11-10 at 10:28 +0100, Martijn Moret wrote:
> Hi all,
>=20
> I have quitte some Apache httpd experience but I am not sure how to solve=
this question from my company:
>=20
> We have a corporate site at: http://www.example.com
> We are implementing a new webshop and our Marketing dep. decided om: http=
://www.example.com/order
>=20
> Due to the nature of the requests and for performance, I would like to ho=
st the web shop on two different webservers.
> I thought of mod_proxy to create a reverse proxy on the webservers of exa=
mple.com.
>=20
> Are there any other ways to achieve this?
> They do not want to expose a different name then www.example.com/order
>=20
> Thanks in advance
> Martijn

This is exactly what ProxyPass{Reverse} is designed for; to present
multiple URI's (on the same or different physical servers) as one single
site to clients.



ServeName "www.example.com"
DocumentRoot "/var/www/html"

ProxyPass /order/ http://backend-order-server/order/
ProxyPassReverse /order/ http://backend-order-server/order/

etc...



--=20
Mark Watts BSc RHCE MBCS
Senior Systems Engineer, Managed Services Manpower
www.QinetiQ.com
QinetiQ - Delivering customer-focused solutions
GPG Key: http://www.linux-corner.info/mwatts.gpg

--=-E+ijKPi9JKVhU+Eiu37C
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: This is a digitally signed message part

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)

iEYEABECAAYFAkr5OKYACgkQBn4EFUVUIO3h8gCeL1kvd1NPKUVS+gfWEB/z Ax2r
gJIAoKruB2DIw64mD0yrnAkZEgGcUH+/
=6elG
-----END PGP SIGNATURE-----

--=-E+ijKPi9JKVhU+Eiu37C--