From 67f3fa100fb12ec2216345006c51717929dffeb3 Mon Sep 17 00:00:00 2001 From: Jonas Smedegaard Date: Sun, 2 Apr 2006 16:01:51 +0000 Subject: Add new sample apache2 config snippets. --- apache2/conf.d/local-log-vhosts.conf | 5 +++++ apache2/conf.d/local-macvolumes.conf | 1 + apache2/conf.d/local-ssl.conf | 23 +++++++++++++++++++++++ 3 files changed, 29 insertions(+) create mode 100644 apache2/conf.d/local-log-vhosts.conf create mode 100644 apache2/conf.d/local-macvolumes.conf create mode 100644 apache2/conf.d/local-ssl.conf (limited to 'apache2/conf.d') diff --git a/apache2/conf.d/local-log-vhosts.conf b/apache2/conf.d/local-log-vhosts.conf new file mode 100644 index 0000000..a8c8920 --- /dev/null +++ b/apache2/conf.d/local-log-vhosts.conf @@ -0,0 +1,5 @@ +# logformat used by vlogger +LogFormat "%v %h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" combined_vlogger + +# Simple setup for a single shared dir for all vhosts +#CustomLog "| /usr/sbin/vlogger -s access.log -u www-data -g www-data -t '%Y.%m.%d' /var/log/apache-vhosts" combined_vlogger diff --git a/apache2/conf.d/local-macvolumes.conf b/apache2/conf.d/local-macvolumes.conf new file mode 100644 index 0000000..a3ec693 --- /dev/null +++ b/apache2/conf.d/local-macvolumes.conf @@ -0,0 +1 @@ +IndexIgnore .??* *~ *# HEADER* README* RCS CVS *,v *,t "Network Trash Folder" TheVolumeSettingsFolder :2eDS_Store "Temporary Items" diff --git a/apache2/conf.d/local-ssl.conf b/apache2/conf.d/local-ssl.conf new file mode 100644 index 0000000..40e6be3 --- /dev/null +++ b/apache2/conf.d/local-ssl.conf @@ -0,0 +1,23 @@ +SSLEngine on +SSLCipherSuite ALL:!ADH:!EXPORT56:RC4+RSA:+HIGH:+MEDIUM:+LOW:+SSLv2:+EXP:+eNULL +SSLCertificateFile /etc/ssl/certs/apache2.pem +SSLCertificateKeyFile /etc/ssl/private/apache2.pem +SSLCACertificatePath /etc/ssl/certs +#SSLCARevocationPath /etc/apache2/ssl.crl +#SSLCARevocationFile /etc/apache2/ssl.crl/ca-bundle.crl +#SSLVerifyClient require +#SSLVerifyDepth 10 + + + SSLOptions +StdEnvVars + + + SSLOptions +StdEnvVars + + +SetEnvIf User-Agent ".*MSIE.*" \ + nokeepalive ssl-unclean-shutdown \ + downgrade-1.0 force-response-1.0 + +CustomLog /var/log/apache2/ssl_request_log \ + "%t %h %{SSL_PROTOCOL}x %{SSL_CIPHER}x \"%r\" %b" -- cgit v1.2.3