On 6/3/05, Roel Wuyts <Roel.Wuyts(a)ulb.ac.be> wrote:
Hello,
I have a question about the configuration of Apache and Smallwiki to
do some things on my server, and I am hoping that some of you more
experienced web-serving people can help me out...
This is the problem:
- I have one server (lit7.ulb.ac.be)
- There are two DNS aliases for this machine: decomp.ulb.ac.be and
restructuring.ulb.ac.be
- I have two Smallwiki's running on the machine, under two different
ports:
8081 runs the 'FRFC' wiki
8082 runs the deComp wiki
Hi Roel,
You want to use Apache's ProxyPass directive. It should be something like this:
<VirtualHost *:80>
ServerName decomp.ulb.ac.be
ProxyPass /
http://localhost:8081/
ProxyPassReverse /
http://localhost:8082/
</VirtualHost>
and similarly for the other host.
Avi