Created
May 7, 2011 11:55
-
-
Save alexrinass/960441 to your computer and use it in GitHub Desktop.
Apache VirtualHost template for Macports
This file contains 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
#!/bin/sh | |
cat <<EOF | |
<VirtualHost *:80> | |
ServerName alex.macbook | |
ServerAdmin webmaster@macbook | |
DocumentRoot "/opt/local/www/alex.macbook" | |
ErrorLog "logs/alex_macbook_error.log" | |
CustomLog "logs/alex_macbook_access.log" common | |
<IfModule mod_rewrite.c> | |
RewriteLog logs/alex_macbook_rewrite.log | |
RewriteLogLevel 2 | |
</IfModule> | |
</VirtualHost> | |
EOF |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment