Intro to Apache - ApacheCon
port-based
  • Run different sites on different ports

  • Listen directive to add an additional port number that we're listening on

  • VirtualHost directive, with a port number:

    
        Listen 75
    
      
    
      <VirtualHost 127.0.0.1:75>
    
      

  • SSL is done this way because SSL runs on port 443

Index
Back to mod_vhost_alias
Forward to apachectl

ApacheCon : Intro to Apache - Slide #75 of 139