Configure apache to reverse proxy for specific name
Posted
by
Phrogz
on Server Fault
See other posts from Server Fault
or by Phrogz
Published on 2011-01-03T17:40:24Z
Indexed on
2011/01/03
17:55 UTC
Read the original article
Hit count: 441
apache2
|configuration
I have a working intranet server that:
- Properly serves some content from http://hqmktgwb01/
- Is currently properly configured to reverse proxy from http://hqmktgwb01/dashstats to a round-robin of localhost:3000 - localhost:3003
- Also has the DNS name
dashstats
(going to the same IP)
The current working configuration file can be found here: http://pastie.org/1426082
I would like to modify the configuration so that:
4. http://dashstats/ performs the same reverse proxying http://hqmktgwb01/dashstats.
I (naively) modified the config like this: http://pastie.org/1426047 (added lines 90-98) but this is not a valid Apache config.
Please help me to modify the original config file to accomplish 1-4 above.
© Server Fault or respective owner