httpd-wiki-changes mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <wikidi...@apache.org>
Subject [Httpd Wiki] Update of "Recipies/ExampleVhosts" by slive
Date Mon, 16 Oct 2006 23:13:35 GMT
Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Httpd Wiki" for change notification.

The following page has been changed by slive:
http://wiki.apache.org/httpd/Recipies/ExampleVhosts

------------------------------------------------------------------------------
  # This tells Apache to listen on port 443
  Listen 443              
  
- # This tells Apache that you will be using vhost on port 80
+ # This tells Apache that you will be using name-based vhosts on port 80
  NameVirtualHost *:80 
  
- # This tells Apache that you will be using vhost on port 443
- NameVirtualHost *:443   
  }}}
  
  == Basic Setup, using Port 80, and Custom Log files ==
@@ -56, +54 @@

  
  == SSL enabled VirtualHost with Custom Log files ==
  {{{
- <VirtualHost *:443>
+ <VirtualHost _default_:443>
+   # Only one virtual host allowed on this port, because name-based
+   # v-hosting doesn't work with SSL
    ServerName www.foo.com
    DocumentRoot /var/www/www.foo.com/htdocs
  
@@ -68, +68 @@

  </VirtualHost>
  }}}
  
- ''Please note that the above example for SSL, will require an additional !NameVirtualHost
directive, if not already in use''
- 

Mime
View raw message