httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jason Todd Slack-Moehrle <mailingli...@MailNewsRSS.com>
Subject [users@httpd] Apache, Multiple NICS
Date Mon, 12 Jan 2009 14:12:07 GMT
HI All,

I have a new Mac Pro that will be hosting my ³web presence².

I am running Apache2 and I have everything working on one IP.

I want to run my online store on a separate IP and NIC and port 443.

So what do I do for apache to accomplish this?

I have apache listening on all IP¹s by: Listen 80 and NameVirtualHost *:80

Should I change this to:

Listen xx.xx.xx.xx:80
Listen yy.yy.yy.yy:443

Then do I modify my virtual hosts file to:

NameVirtualHost xx.xx.xx.xx:80
NameVirtualHost yy.yy.yy.yy.yy:443

<VirtualHost xx.xx.xx.xx:80>
  // normal config
</VirtualHost>

<VirtualHost yy.yy.yy.yy.yy:443>
    // My online store info
</VirtualHost>

-Jason

Mime
View raw message