/etc/vhosts/webapp-config has options for the following: vhost_htdocs_insecure="htdocs" vhost_htdocs_secure="htdocs-ssl" but it should also support different directories for the cgi-bin directories too. vhost_cgi_insecure="cgi-bin" vhost_cgi_secure="cgi-bin-ssl" This is necessary if one wants to do something like this in 00_default_ssl_vhost.conf: <Directory "/var/www/localhost/cgi-bin-ssl"> SSLRequireSSL </Directory> Please assign this bug to the kind folks of <web-apps@gentoo.org>