ServerRoot "/usr/local" Listen 443 LoadModule mpm_prefork_module libexec/apache24/mod_mpm_prefork.so LoadModule authn_file_module libexec/apache24/mod_authn_file.so LoadModule authn_core_module libexec/apache24/mod_authn_core.so LoadModule authz_host_module libexec/apache24/mod_authz_host.so LoadModule authz_groupfile_module libexec/apache24/mod_authz_groupfile.so LoadModule authz_user_module libexec/apache24/mod_authz_user.so LoadModule authz_core_module libexec/apache24/mod_authz_core.so LoadModule access_compat_module libexec/apache24/mod_access_compat.so LoadModule auth_basic_module libexec/apache24/mod_auth_basic.so LoadModule auth_digest_module libexec/apache24/mod_auth_digest.so LoadModule reqtimeout_module libexec/apache24/mod_reqtimeout.so LoadModule filter_module libexec/apache24/mod_filter.so LoadModule mime_module libexec/apache24/mod_mime.so LoadModule log_config_module libexec/apache24/mod_log_config.so LoadModule env_module libexec/apache24/mod_env.so LoadModule headers_module libexec/apache24/mod_headers.so LoadModule setenvif_module libexec/apache24/mod_setenvif.so LoadModule version_module libexec/apache24/mod_version.so LoadModule ssl_module libexec/apache24/mod_ssl.so LoadModule unixd_module libexec/apache24/mod_unixd.so LoadModule status_module libexec/apache24/mod_status.so LoadModule autoindex_module libexec/apache24/mod_autoindex.so #LoadModule cgid_module libexec/apache24/mod_cgid.so #LoadModule cgi_module libexec/apache24/mod_cgi.so LoadModule dir_module libexec/apache24/mod_dir.so LoadModule alias_module libexec/apache24/mod_alias.so IncludeOptional etc/apache24/modules.d/[0-9][0-9][0-9]_*.conf User www Group www AllowOverride none Require all denied DocumentRoot "/data" Options Indexes AllowOverride Options Indexes FileInfo AuthConfig AuthType Basic AuthName "Who be you?" AuthUserFile /usr/local/etc/apache24/.badpass Require valid-user Require all denied Require all denied DirectoryIndex index.html SSLEngine on SSLCertificateFile /usr/local/etc/apache24/fullchain.pem SSLCertificateKeyFile /usr/local/etc/apache24/privkey.pem ErrorLog "/var/log/httpd-error.log" LogLevel warn LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" combined LogFormat "%h %l %u %t \"%r\" %>s %b" common # You need to enable mod_logio.c to use %I and %O LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\" %I %O" combinedio CustomLog "/var/log/httpd-access.log" common ScriptAlias /cgi-bin/ "/data/metadata/www/cgi-bin/" AllowOverride None Options None Require all granted RequestHeader unset Proxy early TypesConfig etc/apache24/mime.types AddType application/x-compress .Z AddType application/x-gzip .gz .tgz SSLRandomSeed startup builtin SSLRandomSeed connect builtin Include etc/apache24/Includes/*.conf