You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by sameer <sa...@c2.net> on 1996/07/14 07:39:36 UTC

example of port-specific vhost?

	Could someone give me a working example of a port-specific
virtual host? I seem to have my virtual hosts configured wrong. if you
look at http://www.anonymizer.com/info, you'll see it tell you that
the port is 443. But it is using port 80.

My config file looks like:

Listen 80
Listen 443
Port 80

<VirtualHost *:443>
stuff
</VirtualHost>

-- 
Sameer Parekh					Voice:   510-986-8770
Community ConneXion, Inc.			FAX:     510-986-8777
The Internet Privacy Provider
http://www.c2.net/				sameer@c2.net

Re: example of port-specific vhost?

Posted by David Robinson <dr...@esi.co.uk>.
On Sat, 13 Jul 1996, sameer wrote:

> 	Could someone give me a working example of a port-specific
> virtual host? I seem to have my virtual hosts configured wrong. if you
> look at http://www.anonymizer.com/info, you'll see it tell you that
> the port is 443. But it is using port 80.
> 
> My config file looks like:
> 
> Listen 80
> Listen 443
> Port 80
> 
> <VirtualHost *:443>
> stuff
> </VirtualHost>

Well, for starters don't use Listen and Port together. Delete the Port
line.

 David.