[prev in list] [next in list] [prev in thread] [next in thread] 

List:       apache-server
Subject:    Re: [apache-server] 2 Web sites + proxy
From:       Owen Boyle <obo () bourse ! ch>
Date:       2001-10-30 9:48:01
[Download RAW message or body]

trus@cataland.intnet.mu wrote:
> I cannot access my web site on port 80. However, I can do so from port
> 8080.
> Is it because "Listen 8080" is overriding "Port 80"?
> How do I specify port 8080 to be used for proxy server caching only?
> And port 80 for another web site?
> 
> To summarise, I want
> 
> http://10.0.0.3/         - Web site #1             - port 80
> http://10.0.0.3:8080/    - Caching Proxy Server         - port 8080
> http://10.0.0.3:10000/   - Web site #2             - port 10000

Put all VH-specific directives into a set of VH containers and use a
separate Listen for each one, e.g.

Listen 10.0.0.3:80
<VirtualHost 10.0.0.3:80>
  ..Web site #1 directives
</VirtualHost>

Listen 10.0.0.3:8080
<VirtualHost 10.0.0.3:8080>
  ..Caching Proxy Server directives
</VirtualHost>

Listen 10.0.0.3:10000
<VirtualHost 10.0.0.3:10000>
  ..Web site #2  directives
</VirtualHost>

Rgds,

owen Boyle.

------------------------ Yahoo! Groups Sponsor ---------------------~-->
Get your FREE VeriSign guide to security solutions for your web site: encrypting \
transactions, securing intranets, and more! \
                http://us.click.yahoo.com/UnN2wB/m5_CAA/yigFAA/CefplB/TM
---------------------------------------------------------------------~->

To Post a message, send it to:   apache-server@eGroups.com
To Unsubscribe, send a blank message to: apache-server-unsubscribe@eGroups.com 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic