httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From edward...@ita.org.mo
Subject Re: [users@httpd] port 80 + 8080 + SSL (443)
Date Mon, 16 Feb 2009 15:43:08 GMT
Hello,

IP-based or Named-based ?
how many NIC with your Server machine ?

Ed.

KURT PETERS wrote:

> I would like to set up my server to respond with the same website for 
> incoming requests to both port 80 and 8080, but a different virtual 
> server for 443. I set up something like below, but it seems like overkill.
>  
>  
> Listen 80
> Listen 8080
> Listen 443
>
> NameVirtualHost 172.20.30.40:80
> NameVirtualHost 172.20.30.40:8080
> NameVirtualHost 192.168.1.40:80
> NameVirtualHost 192.168.1.40:8080
>
> <VirtualHost 172.20.30.40:80 172.20.30.40:8080 192.168.1.40:80 
> 192.168.1.40:8080>
> ServerName www.example.com <http://www.example.com>
> ServerAlias LOCALNAME
> DocumentRoot /var/www
> </VirtualHost>
>
> NameVirtualHost 172.20.30.40:443
> NameVirtualHost 192.168.1.40:443
>
> <VirtualHost 172.20.30.40:443 192.168.1.40:443>
> ServerName www.example.com <http://www.example.com>
> DocumentRoot /var/secwww
> </VirtualHost>
>  
>  
> Is there an "easier" way to do this?  Also, is this right?  I do get a 
> warning that Apache2 cannot determine the servername, and I'm not sure 
> what to do to get rid of that error.
>  
> On a similar, but equally important note:
>  
> I did something like above, but I get a timeout for incoming to 
> https:// when I'm testing it from outside my router.  Any hints at 
> what might be going wrong there?
>  
> Regards,
> Kurt
>
>
> __________ Information from ESET Smart Security, version of virus 
> signature database 3856 (20090216) __________
>
> The message was checked by ESET Smart Security.
>
> http://www.eset.com



Mime
View raw message