groupInfo expandAfterMode 1 groupName Apache snippetsTE2 abbreviation apache:vhost:site abbreviationMode 1 creationDate 2013-07-16T22:45:15Z label Enable or Disable site (Apache vhost/domain) modificationDate 2015-07-06T02:48:03Z plainText %fillpopup:name=Enable or Disable:default=a2ensite:a2dissite% %filltext:name=Domain VHOST file% snippetType 0 uuidString 461A7F53-C599-4696-AD2D-3DD556A8323D abbreviation apache:conf:deflate abbreviationMode 0 creationDate 2012-03-16T05:45:29Z label Apache mod_deflate compression config modificationDate 2012-03-16T05:57:22Z plainText # # mod_deflate configuration # LoadModule deflate_module modules/mod_deflate.so <IfModule mod_deflate.c> AddOutputFilterByType DEFLATE text/* AddOutputFilterByType DEFLATE text/plain AddOutputFilterByType DEFLATE text/html AddOutputFilterByType DEFLATE text/xml AddOutputFilterByType DEFLATE text/css AddOutputFilterByType DEFLATE application/xml AddOutputFilterByType DEFLATE application/xhtml+xml AddOutputFilterByType DEFLATE application/rss+xml AddOutputFilterByType DEFLATE application/javascript AddOutputFilterByType DEFLATE application/x-javascript DeflateCompressionLevel 9 BrowserMatch ^Mozilla/4 gzip-only-text/html BrowserMatch ^Mozilla/4\.0[678] no-gzip BrowserMatch \bMSIE !no-gzip !gzip-only-text/html #DeflateFilterNote Input instream #DeflateFilterNote Output outstream #DeflateFilterNote Ratio ratio #CustomLog /path/to/vhost/logs/deflate_log deflate #LogFormat '"%r" %{outstream}n/%{instream}n (%{ratio}n%%)' deflate </IfModule> snippetType 0 uuidString C3DFA0D2-FC4E-404E-A897-36EABE90AF98 abbreviation apache:modules:compiled abbreviationMode 0 creationDate 2012-03-16T05:32:49Z label List compiled Apache modules modificationDate 2015-07-06T03:03:47Z plainText apache2 -l snippetType 0 uuidString C1CF80BA-ABA5-43DB-92A3-0984AE692490 abbreviation apache:settings abbreviationMode 0 creationDate 2012-03-16T05:30:38Z label Show Apache settings modificationDate 2012-03-16T05:30:48Z plainText /usr/sbin/apache2 -V snippetType 0 uuidString 18F53E20-40D8-43A5-9F4D-DCC5802FD6B5 abbreviation apache:processes abbreviationMode 0 creationDate 2012-03-16T05:28:30Z label Show Apache processes modificationDate 2012-03-16T05:28:51Z plainText ps -ef | grep apache snippetType 0 uuidString C3950D75-DB1C-4A34-B553-694DCA6B80B5 abbreviation apache:modules:enable abbreviationMode 0 creationDate 2012-03-16T05:08:19Z label Enable an Apache module modificationDate 2012-03-16T05:08:43Z plainText sudo a2enmod %fill:module% snippetType 0 uuidString 6958D8A2-3049-4E62-BD4C-DD35DDFB6C5C abbreviation apache:modules:list abbreviationMode 0 creationDate 2012-03-16T05:07:52Z label List loaded Apache modules modificationDate 2015-07-06T03:03:51Z plainText apache2 -l snippetType 0 uuidString F275A226-A087-478F-8CF6-B6E373F28BDE abbreviation apache:conf:security abbreviationMode 0 creationDate 2012-03-16T04:05:15Z label Apache security.conf (template) modificationDate 2012-03-16T04:05:44Z plainText ServerSignature Off ServerTokens Prod snippetType 0 uuidString A1A45DA1-8689-4225-9AE1-54AA44DB3E7A abbreviation apache:config:test abbreviationMode 0 creationDate 2012-03-16T03:01:07Z label Test Apache config modificationDate 2012-03-16T03:07:50Z plainText /etc/init.d/apache2 configtest snippetType 0 uuidString 4DA4B1B0-DF16-43C4-8ACB-B9DB5FFD2497 abbreviation apache:reload abbreviationMode 0 creationDate 2012-03-16T02:59:34Z label Reload Apache config modificationDate 2012-03-16T03:07:38Z plainText /etc/init.d/apache2 reload snippetType 0 uuidString B3497534-DF06-479E-9DAC-00399FF0F37B abbreviation apache:httpd:reload abbreviationMode 0 creationDate 2012-03-16T02:58:35Z label Reload Apache httpd config (without restart) modificationDate 2012-03-16T03:07:35Z plainText /etc/init.d/httpd reload snippetType 0 uuidString 702CFC2E-DFB6-4ECC-9A5C-8E27CC58E3CB abbreviation apache:vhost:template abbreviationMode 0 creationDate 2012-03-16T02:55:09Z label Apache VHost (template) modificationDate 2015-07-06T02:58:16Z plainText <VirtualHost *:80> ServerAdmin webmaster@localhost ServerName %fill:domain% ServerAlias www.%fill:domain% DocumentRoot /var/www/%fill:domain%/htdocs <Directory /var/www/html> <LimitExcept GET POST> Order allow,deny </LimitExcept> </Directory> # log files for this domain CustomLog /var/log/apache2/%fill:domain%-access.log combined ErrprLog /var/log/apache2/%fill:domain%-error.log # Deflate (compression) AddOutputFilterByType DEFLATE text/plain AddOutputFilterByType DEFLATE text/html AddOutputFilterByType DEFLATE text/xml AddOutputFilterByType DEFLATE text/css AddOutputFilterByType DEFLATE application/xml AddOutputFilterByType DEFLATE application/xhtml+xml AddOutputFilterByType DEFLATE application/rss+xml AddOutputFilterByType DEFLATE application/javascript AddOutputFilterByType DEFLATE application/x-javascript DeflateCompressionLevel 9 BrowserMatch ^Mozilla/4 gzip-only-text/html BrowserMatch ^Mozilla/4\.0[678] no-gzip BrowserMatch \bMSIE !no-gzip !gzip-only-text/html # Tracking compression #DeflateFilterNote Input instream #DeflateFilterNote Output outstream #DeflateFilterNote Ratio ratio #LogFormat '"%r" %{outstream}n/%{instream}n (%{ratio}n%%)' deflate </VirtualHost> # SSL config <VirtualHost *:443> ServerAdmin webmaster@localhost ServerName %fill:domain% ServerAlias www.%fill:domain% DocumentRoot /var/www/%fill:domain%/htdocs # Logs CustomLog /var/log/apache/www.foo.com-access.log combined ErrorLog /var/log/apache/www.foo.com-error.log # Basic SSL configuration SSLEngine on SSLProtocol all -SSLv2 SSLCipherSuite HIGH:MEDIUM:!aNULL:!MD5 SSLCertificateFile "/var/www/%fill:domain%/ssl/server.crt" SSLCertificateKeyFile "/var/www/%fill:domain%/ssl/server.key" </VirtualHost> snippetType 0 uuidString 0AD5D31F-97AF-44B8-89F9-29D12ECAE590 abbreviation apache:status abbreviationMode 0 creationDate 2012-03-16T02:53:27Z label Get Apache status modificationDate 2015-07-06T02:50:19Z plainText apachectl %fillpart:name=Full output%full%fillpartend%status snippetType 0 uuidString 8F0D4FE7-A7CF-4C24-B992-841738D53438 abbreviation apache:reboot abbreviationMode 0 creationDate 2012-03-16T02:50:56Z label Restart Apache now! modificationDate 2015-07-06T03:03:38Z plainText apachectl restart snippetType 0 uuidString CAA374A7-FCD8-43CE-ABF6-A7554EC7645E abbreviation apache:stop abbreviationMode 0 creationDate 2012-03-16T02:50:28Z label Stop Apache modificationDate 2012-03-16T02:50:38Z plainText apachectl stop snippetType 0 uuidString 2007A414-E9D3-4644-B2E9-7F36C4EF0457 abbreviation apache:start abbreviationMode 0 creationDate 2012-03-16T02:49:55Z label Start Apache modificationDate 2012-03-16T02:49:55Z plainText apachectl start snippetType 0 uuidString 7C8E236D-C340-405B-A9EF-3D256AA4EE99 abbreviation apache:restart abbreviationMode 0 creationDate 2012-03-16T02:48:14Z label Restart Apache gracefully modificationDate 2012-03-16T02:49:25Z plainText apachectl graceful snippetType 0 uuidString 904F14A5-CDF7-44F1-8A0C-F58413A018F2 abbreviation apache:bench abbreviationMode 0 creationDate 2012-02-29T07:40:21Z label Apache Benchmark a domain or URL modificationDate 2012-03-16T05:16:22Z plainText ab -n %fill:100requests% -c %fill:10concurrency% %fill:URL%/ snippetType 3 uuidString DA381D6C-D5C4-407D-8F27-B1384A12BDCC abbreviation httpd:version abbreviationMode 0 creationDate 2012-02-29T07:20:56Z label Get Apache (httpd) version (alternate) modificationDate 2012-02-29T07:20:56Z plainText httpd -v snippetType 3 uuidString AEFE515F-3930-4300-8E96-9B4C8953BBDB abbreviation apache:version abbreviationMode 0 creationDate 2012-02-29T07:20:18Z label Get Apache version modificationDate 2012-02-29T07:20:18Z plainText apache2ctl -v snippetType 3 uuidString F4F56384-B4DC-4A3C-9BC7-C4AC8E18C34E abbreviation apache:httpd:start abbreviationMode 1 creationDate 2012-02-29T05:19:14Z label Start Apache httpd modificationDate 2012-03-16T02:47:58Z plainText /etc/init.d/httpd start snippetType 0 uuidString B8BE3AD5-483E-4B6D-B91B-527E2A0015B1 abbreviation apache:httpd:stop abbreviationMode 1 creationDate 2012-02-29T05:18:59Z label Stop Apache httpd modificationDate 2012-03-16T02:48:03Z plainText /etc/init.d/httpd stop snippetType 3 uuidString EBE2A1B6-3341-4C58-9C93-1E526CC269AF abbreviation apache:httpd:restart abbreviationMode 1 creationDate 2012-02-29T04:24:51Z label Restart Apache httpd modificationDate 2012-03-16T02:48:07Z plainText /etc/init.d/httpd restart snippetType 0 uuidString 6BD1B73B-CB9E-414F-9166-61F4411B97B7 abbreviation apache:list abbreviationMode 0 creationDate 2015-07-06T02:45:45Z label List all virtual hosts modificationDate 2015-07-06T02:46:43Z plainText apache2ctl -S snippetType 0 uuidString 5A641A1F-4885-485E-B739-894B212396A7