Created
June 15, 2011 02:59
-
-
Save cjsaylor/1026393 to your computer and use it in GitHub Desktop.
Subdomain vhost_alias
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
<IfModule mod_rewrite.c> | |
RewriteEngine on | |
RewriteBase / | |
<rewrite rules here> | |
</IfModule> |
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
<VirtualHost *:80> | |
ServerAdmin [email protected] | |
ErrorLog ${APACHE_LOG_DIR}/error.log | |
LogLevel warn | |
CustomLog ${APACHE_LOG_DIR}/access.log combined | |
<Directory /path/to/web/dir> | |
Options FollowSymLinks MultiViews | |
AllowOverride All | |
</Directory> | |
UseCanonicalName Off | |
VirtualDocumentRoot /path/to/web/dir/%1 | |
</VirtualHost> |
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
* A <ip addr> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment