hi Davide,

both apache instances have the basic configuration. They have different port 
numbers: the main apache is on port 80 and the other 3 instances on 5001, 6001 
and 7001.

In the main apache (port 80), I added as you suggested:

NameVirtualHost *:80

<VirtualHost *:80>
        ServerName alias1
        ProxyPass / http://alias1:5001
        ProxyPassReverse / http://alias1:5001
</VirtualHost>

but still http://alias1 goes to port 80 while I expect it to go to port 5001.

If you insist on the full config files, I will send it to you.

thank you.






--- On Tue, 16/9/08, Davide Bianchi <[EMAIL PROTECTED]> wrote:

> From: Davide Bianchi <[EMAIL PROTECTED]>
> Subject: Re: [EMAIL PROTECTED] rewrite rules
> To: users@httpd.apache.org
> Date: Tuesday, 16 September, 2008, 2:18 PM
> Melanie Pfefer wrote:
> > Hi
> > 
> > the DNS already has this alias.
> > server = alias1 = alias2 = alias3
> > this is why http://alias1 = http://server
> > while I want : http://alias1 = http://server:5001
> (that is another apache on this machine)
> 
> Yes, the last part is done by the VHosts, post your
> configuration file.
> 
> Davide
> 
> -- 
> A distributed system is one in which the failure of a
> computer you
> didn't even know existed can render your own computer
> unusable.
> -- Leslie Lamport
> 
> ---------------------------------------------------------------------
> 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]




---------------------------------------------------------------------
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