Re: mod_ssl and virtual host

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



 httpd  -t -D DUMP_VHOSTS
VirtualHost configuration:
xx.xx.xx.34:80        is a NameVirtualHost
         default server www.domain1.com (/etc/httpd/conf/httpd.conf:1108)
port 80 namevhost www.domain1.com (/etc/httpd/conf/httpd.conf:1108) port 80 namevhost ofbiz.domain1.com (/etc/httpd/conf/httpd.conf:1127) port 80 namevhost bnspo.domain1.com (/etc/httpd/conf/httpd.conf:1176) port 80 namevhost demo-trunk.domain1.com (/etc/httpd/conf/httpd.conf:1404) port 80 namevhost demo-stable.domain1.com (/etc/httpd/conf/httpd.conf:1455) port 80 namevhost automation.domain1.com (/etc/httpd/conf/httpd.conf:1504) port 80 namevhost svn.domain1.com (/etc/httpd/conf/httpd.conf:1512)
xx.xx.xx.34:443       is a NameVirtualHost
         default server ofbiz.domain1.com (/etc/httpd/conf/httpd.conf:1147)
port 443 namevhost ofbiz.domain1.com (/etc/httpd/conf/httpd.conf:1147) port 443 namevhost bnspo.domain1.com (/etc/httpd/conf/httpd.conf:1196) port 443 namevhost demo-trunk.domain1.com (/etc/httpd/conf/httpd.conf:1426) port 443 namevhost demo-stable.domain1.com (/etc/httpd/conf/httpd.conf:1477)
xx.xx.xx.32:80        is a NameVirtualHost
         default server free-man.net (/etc/httpd/conf/httpd.conf:1051)
         port 80 namevhost domain2.net (/etc/httpd/conf/httpd.conf:1051)
port 80 namevhost www.domain3.com (/etc/httpd/conf/httpd.conf:1068)
         port 80 namevhost www.inform.org (/etc/httpd/conf/httpd.conf:1087)
port 80 namevhost rvforum.domain3.com (/etc/httpd/conf/httpd.conf:1224) port 80 namevhost xgames.domain3.com (/etc/httpd/conf/httpd.conf:1249) port 80 namevhost www.domain4.com (/etc/httpd/conf/httpd.conf:1274) port 80 namevhost bjdbadmin.domain2.net (/etc/httpd/conf/httpd.conf:1333)
xx.xx.xx.32:443       is a NameVirtualHost
         default server domain2.net (/etc/httpd/conf.d/ssl.conf:83)
         port 443 namevhost domain2.net (/etc/httpd/conf.d/ssl.conf:83)
port 443 namevhost www.domain4.com (/etc/httpd/conf/httpd.conf:1304)
xx.xx.xx.33:80        www.domain5.com (/etc/httpd/conf/httpd.conf:1357)
xx.xx.xx.33:443       www.domain5.com (/etc/httpd/conf/httpd.conf:1376)
Syntax OK

in working with this I could not get these to show up
till I added the NameVirtualHost
domain5.com is not under NameVirtualHost but is a VirtualHost

without NameVirtualHost  only one of each domain would show.


=========================

BJ Freeman
Strategic Power Office with Supplier Automation  <http://www.businessesnetwork.com/automation/viewforum.php?f=52>
Specialtymarket.com  <http://www.specialtymarket.com/>
Systems Integrator-- Glad to Assist

Chat  Y! messenger: bjfr33man
Igor GaliÄ sent the following on 1/30/2011 3:29 PM:


----- bfree@xxxxxxxxxxxx wrote:

got most everything working.
if have three ips
NameVirtualHost xx.xx.xx.32:80
NameVirtualHost xx.xx.xx.32:443

NameVirtualHost xx.xx.xx.34:80
NameVirtualHost xx.xx.xx.34:443

I have a domain that had ssl in the original
NameVirtualHost(xx.xx.xx.32) it works great this operates off the

NameVirtualHost introduces name-based vhosting.
So why are you using namebased vhosts for IP based vhosting?

How many domains are we talking about? How many of these need SSL?

default ssl defined in the ssl.conf.

Note that Apache httpd doesn't much care about what the file
is called you're putting your directives in.
It only cares about the context the directives appear:

http://httpd.apache.org/docs/current/mod/directive-dict.html#Context

and the order in which they appear..

Anyway. httpd -S should show you the vhost configuration and help
you trouble shoot that.

i


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
  "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux