Skip to content

Instantly share code, notes, and snippets.

@adeleinr
Created November 3, 2011 18:10
Show Gist options
  • Save adeleinr/1337236 to your computer and use it in GitHub Desktop.
Save adeleinr/1337236 to your computer and use it in GitHub Desktop.
Apache cheatsheet
MULTIPLE PORTS IN ONE HOST
---------------------------
Syntax:
Port [port]
NameVirtualHost *:[another_port]
Listen [another_port]
<VirtualHost *:[another_port]></VirtualHost>
==
Example:
Port 80
NameVirtualHost *:8080
Listen 8080
<VirtualHost *:8080></VirtualHost>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment