Options Includes MultiViews SymlinksIfOwnerMatch AllowOverride AuthConfig FileInfo Indexes Limit Options Require all granted AllowMethods GET POST OPTIONS DirectoryIndex index.html DirectoryIndex index.shtml SSLOptions +StdEnvVars DirectoryIndex index.php SetHandler proxy:fcgi://127.0.0.1:9000/ Options Includes MultiViews SymLinksIfOwnerMatch AllowOverride None Require all granted AllowMethods GET POST OPTIONS DirectoryIndex disabled SSLOptions +StdEnvVars ServerName afterdark.org.uk ServerAlias www.afterdark.org.uk SetEnvIf REQUEST_URI ^/robots\.txt$ no_log SetEnvIf REQUEST_URI ^/favicon\.ico$ no_log SetEnvIf REQUEST_URI ^/\.well-known/.*$ no_log RedirectMatch permanent ^/(?!(\.well-known|httpd-errordocs)/)(.*) https://afterdark.org.uk/$2 ScriptAlias /cgi-bin/ /data/www/cgi-bin/ DocumentRoot /data/www/html/ CustomLog /data/www/logs/httpd-access VHostCombined env=!no_log Require all granted # Dot NOT add backslashes to the end of the urls. ProxyPass /git http://127.0.0.1:3000 ProxyPassReverse /git http://127.0.0.1:3000 UserDir /data/home/*/www/html UserDir Disabled root ServerName afterdark.org.uk ServerAlias www.afterdark.org.uk SSLEngine On SSLCertificateFile /etc/certificates/afterdark.org.uk-cert.pem SSLCertificateKeyFile /etc/certificates/afterdark.org.uk-key.pem SSLCertificateChainFile /etc/certificates/afterdark.org.uk-chain.pem SetEnvIf REQUEST_URI ^/robots\.txt$ no_log SetEnvIf REQUEST_URI ^/favicon\.ico$ no_log ScriptAlias /cgi-bin/ /data/www/cgi-bin/ DocumentRoot /data/www/html/ CustomLog /data/www/logs/httpd-access VHostCombined env=!no_log Require all granted # Dot NOT add backslashes to the end of the urls. ProxyPass /git http://127.0.0.1:3000 ProxyPassReverse /git http://127.0.0.1:3000 UserDir /data/home/*/www/html UserDir Disabled root