> $NO_SSL_CGI = $ENV{SCRIPT_NAME};
>
> if ($CONFIG{ssl_server}) {
> $CONFIG{ssl_server} =~ s/\/$//;
> $SSL_CGI = $CONFIG{ssl_server} . $ENV{SCRIPT_NAME};
> } else {
> $SSL_CGI = $NO_SSL_CGI;
> }
>
> Where $ENV{SCRIPT_NAME} returns /domains/order.cgi. This is added to my
> secure server https://www.mydomain.com and I get the "extra" /domains/
> when a secure script calls itself or another secure script. If order.cgi
> is called from the insecure side of the house, it's fine of course.
$ENV{SCRIPT_NAME} is correct.
What is the *exact* value of $CONFIG{ssl_server}?