httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Melanie Pfefer <melanie_pfe...@yahoo.co.uk>
Subject Re: [users@httpd] rewrite rules
Date Tue, 16 Sep 2008 11:23:07 GMT
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 <davide@onlyforfun.net> wrote:

> From: Davide Bianchi <davide@onlyforfun.net>
> Subject: Re: [users@httpd] 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: users-unsubscribe@httpd.apache.org
>    "   from the digest:
> users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail:
> users-help@httpd.apache.org


      

---------------------------------------------------------------------
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: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message