2012-02-02 04:33:35 +00:00
|
|
|
snippet allow
|
2012-10-30 03:06:31 +00:00
|
|
|
AllowOverride ${1:#:AuthConfig} ${2:#:FileInfo} ${3:#:Indexes} ${4:#:Limit} ${5:#:Options}
|
2012-02-02 04:33:35 +00:00
|
|
|
|
|
|
|
|
|
|
|
snippet opt
|
2012-10-30 03:06:31 +00:00
|
|
|
Options ${1:#:All} ${2:#:ExecCGI} ${3:#:FollowSymLinks} ${4:#:Includes} ${5:#:IncludesNOEXEC} ${6:#:Indexes} ${7:#:MultiViews} ${8:#:SymLinksIfOwnerMatch}
|
2012-02-02 04:33:35 +00:00
|
|
|
|
|
|
|
|
|
|
|
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>
|
2012-10-30 03:06:31 +00:00
|
|
|
|