ServerName apache2.test-net.qt.local:80 NameVirtualHost *:443 SSLEngine On CustomLog /var/log/apache2/ssl_access.log combined ErrorLog /var/log/apache2/ssl_error.log # default ubuntu config turns off SSLv2 because it is deprecated. # Turn it back on so we can test it. SSLProtocol all DocumentRoot /home/qt-test-server/www/htdocs ScriptAlias /qtest/cgi-bin/ "/home/qt-test-server/www/cgi-bin/" ScriptAlias /qtest/protected/cgi-bin/ "/home/qt-test-server/www/htdocs/protected/cgi-bin/" Alias /qtest "/home/qt-test-server/www/htdocs/" Require all granted AuthType Basic AuthName "Restricted Files" AuthUserFile /home/qt-test-server/passwords Require user httptest AuthType Digest AuthName "Digest testing" AuthDigestProvider file AuthUserFile /home/qt-test-server/www/htdocs/digest-authfile Require user httptest AddOutputFilterByType DEFLATE text/html text/plain text/xml Header append Vary User-Agent env=!dont-vary Options +ExecCGI -Includes AddHandler cgi-script .cgi .pl Require all granted AllowOverride AuthConfig Options Options Indexes