httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Melanie Pfefer <>
Subject [users@httpd] alias using Virtual host
Date Mon, 27 Apr 2009 12:20:38 GMT


I have the main apache running on port 80.
I built another configuration file to have another apache running on port 8094.

I can access both servers:


Now I want to have http://MySecondAlias to redirect to http://host:8094

I added MySecondAlias to DNS and I added these lines in the main apache config

NameVirtualHost *:80

<VirtualHost *:80>
        ServerName MySecondAlias
        ProxyPass / http://localhost:8094/
        ProxyPassReverse / http://localhost:8094/

Now http://host redirects to http://MySecondAlias and I do not want this.

How to fix this situation?


Http://host goes to the default apache
http://MySecondAlias goes to the 2nd apache running on 8094

any other alternative is also welcomed.



The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message