Re: rewrite rules

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxx> wrote:

> From: Davide Bianchi <davide@xxxxxxxxxxxxxx>
> Subject: Re:  rewrite rules
> To: users@xxxxxxxxxxxxxxxx
> 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@xxxxxxxxxxxxxxxx
>    "   from the digest:
> users-digest-unsubscribe@xxxxxxxxxxxxxxxx
> For additional commands, e-mail:
> users-help@xxxxxxxxxxxxxxxx


      

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



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux