Skip to content

Instantly share code, notes, and snippets.

@wmantly
Created July 28, 2015 21:33
Show Gist options
  • Select an option

  • Save wmantly/41d9a6fc25bcd8f01495 to your computer and use it in GitHub Desktop.

Select an option

Save wmantly/41d9a6fc25bcd8f01495 to your computer and use it in GitHub Desktop.
<VirtualHost *:80>
ServerAdmin [email protected]
# ServerName dev.718it.biz
ServerName dev.718it.biz
DocumentRoot /stuff0/dev
<Directory />
Options +Indexes +Includes +FollowSymLinks +MultiViews
AllowOverride AuthConfig FileInfo
Require all granted
</Directory>
<Directory /stuff0/dev/>
Options All
AllowOverride All
Require all granted
</Directory>
ErrorLog ${APACHE_LOG_DIR}/error.log
CustomLog ${APACHE_LOG_DIR}/access.log combined
</VirtualHost>
<IfModule mod_ssl.c>
<VirtualHost _default_:443>
ServerAdmin [email protected]
ServerName dev.718it.biz
DocumentRoot /stuff0/dev
<Directory />
Options +Indexes +Includes +FollowSymLinks +MultiViews
AllowOverride AuthConfig FileInfo
Require all granted
</Directory>
<Directory /stuff0/dev/>
Options All
AllowOverride All
Require all granted
</Directory>
# Header always set Strict-Transport-Security "max-age=63072000"
ErrorLog ${APACHE_LOG_DIR}/error.log
CustomLog ${APACHE_LOG_DIR}/access.log combined
SSLEngine on
SSLCertificateFile /etc/apache2/ssl/_718it/ssl.crt
SSLCertificateChainFile /etc/apache2/ssl/_718it/chain.crt
SSLCertificateKeyFile /etc/apache2/ssl/_718it/ssl.key
BrowserMatch "MSIE [2-6]" \
nokeepalive ssl-unclean-shutdown \
downgrade-1.0 force-response-1.0
BrowserMatch "MSIE [17-9]" ssl-unclean-shutdown
</VirtualHost>
</IfModule>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment