Re: rewrite rules

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

 



Melanie Pfefer wrote:
> Hi Davide,
> 
> I followed your example and specified localhost in the VirtualHost directive. it worked.

Ah, good.

> one more question please: for the other servers, I tried:
> 
> NameVirtualHost *:80
> 
> <VirtualHost *:80>
>         ServerName alias1
>         ProxyPass / http://localhost:5001/
>         ProxyPassReverse / http://localhost:5001/
> </VirtualHost>
> 
> <VirtualHost *:80>
>         ServerName alias2
>         ProxyPass / http://localhost:5002/
>         ProxyPassReverse / http://localhost:5002/
> 
> </VirtualHost>
> 
> however, http://alias2 goes to http://localhost:5001.
> 
> could you please advise?

You did restarted your 'main' apache instance after changing the .conf
file and did cleaned up the cache of your browser, yes?

Davide

-- 
Move along, move along, nothing to see here, definitely no evil mind
control software here, move along, move along...
--Thorf

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