Created
November 8, 2010 19:44
-
-
Save drewlesueur/668156 to your computer and use it in GitHub Desktop.
infinite subdomains
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #allows you to have infinite subdomains | |
| <VirtualHost *:80> | |
| # first do a2enmod vhost_alias | |
| ServerName anything.the.tl | |
| ServerAlias *.the.tl | |
| UseCanonicalName Off | |
| VirtualDocumentRoot /root/workspace/sites/%0 # %0 is the full domain name | |
| </VirtualHost> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment