Skip to content

Instantly share code, notes, and snippets.

@mmisono
Created January 21, 2010 13:55
Show Gist options
  • Save mmisono/282805 to your computer and use it in GitHub Desktop.
Save mmisono/282805 to your computer and use it in GitHub Desktop.
snippet allow
AllowOverride ${1:AuthConfig} ${2:FileInfo} ${3:Indexes} ${4:Limit} ${5:Options}
snippet opt
Options ${1:All} ${2:ExecCGI} ${3:FollowSymLinks} ${4:Includes} ${5:IncludesNOEXEC} ${6:Indexes} ${7:MultiViews} ${8:SymLinksIfOwnerMatch}
snippet vhost
<VirtualHost ${1:example.org}>
ServerAdmin webmaster@${1}
DocumentRoot /www/vhosts/${1}
ServerName ${1}
ErrorLog logs/${1}-error_log
CustomLog logs/${1}-access_log common
</VirtualHost>
snippet dir
<Directory ${1:/Library/WebServer/}>
${0}
</Directory>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment