httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Davide Bianchi <dav...@onlyforfun.net>
Subject Re: [users@httpd] rewrite rules
Date Tue, 16 Sep 2008 12:13:36 GMT
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@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