hi,

I have 3 instances of apache each running on a separate port.

I have created a 4th instance on port 80 and 3 aliases so that when users want 
to access let’s say:

http://alias1 it goes to http://server:port1
http://alias2 it goes to http://server:port2
http://alias3 it goes to http://server:port3


http://server and http://alias1 and http://alias2 and http://alias3 refer to 
the 4th instance (port 80). I want to add rewrite rules so that it redirects to 
the corresponding apache instance.

I tried to edit httpd.conf of the 4th instance:

RewriteEngine On
ProxyPass /alias1/ http://alias1:5001/
ProxyPassReverse /alias1/ http://alias1:5001/


But http://alias1 still refers to http://alias1 whereas it should go to 
http://alias1:5001.

Any idea?

thank you




---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: [EMAIL PROTECTED]
   "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to