Showing posts with label port. Show all posts
Showing posts with label port. Show all posts

Friday, November 10, 2006

when you need more ports

So I'm guessing there's more than one way to tell apache to listen beyond port 80. Here's what I figured out:


Listen 81
Listen 82
Listen 83
Listen 84
Listen 85


<VirtualHost _default_:81>
DocumentRoot /srv/www/port_81
</VirtualHost>
<VirtualHost _default_:82>
DocumentRoot /srv/www/port_82
</VirtualHost>
<VirtualHost _default_:83>
DocumentRoot /srv/www/port_83
</VirtualHost>
<VirtualHost _default_:84>
DocumentRoot /srv/www/port_84
</VirtualHost>
<VirtualHost _default_:85>
DocumentRoot /srv/www/port_85
</VirtualHost>