Hi, David!
Please check if you have the relative link setting turned on,
which may well be the case for reverse proxy.
Clearly an e-mail cannot contain a relative link,
it must be converted to absolute or just skip the feature.
hdb.c
char *hLocalHostCgiBinUrl() /* Return the current full absolute URL of the cgi-bin directory of the local * server in the format http(s)://<host>/<cgiBinDir>, e.g. * https://genome.ucsc.edu/cgi-bin/. * The <host> is coming from the SERVER_NAME variable, which is * the ServerName setting in the Apache config file. * The cgi-bin directory is coming from the SCRIPT_NAME variable, the relative * location of the cgi program relative to Apache's DOCUMENT_ROOT. * Https is used if the variable HTTPS is set by Apache. * * If login.relativeLink=on is set, return only the empty string. * (This is used on the CIRM server, as it has no way of knowing what its * actual server name or protocol is, it is behind a reverse proxy) * Result has to be free'd. */
{ boolean relativeLink = cfgOptionBooleanDefault(CFG_LOGIN_RELATIVE, FALSE); if (relativeLink) return cloneString(""); char *cgiDir = cgiScriptDirUrl(); char buf[2048]; char *hgLoginHost = cgiServerNamePort(); safef(buf, sizeof(buf), "http%s://%s%s", cgiAppendSForHttps(), hgLoginHost, cgiDir); return cloneString(buf); }
Galt Barber
Senior Software Engineer
UCSC Genome Browser
Let us know if you have any more questions.
--
---
You received this message because you are subscribed to the Google Groups "UCSC Genome Browser Mirror-Specific Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email to genome-mirro...@soe.ucsc.edu.
To view this discussion on the web visit https://groups.google.com/a/soe.ucsc.edu/d/msgid/genome-mirror/bd5ade9f-8edb-4752-82e0-5f9d88b66b30%40hpc.nih.gov.
To unsubscribe from this group and stop receiving emails from it, send an email to genome-mirro...@soe.ucsc.edu.
To view this discussion on the web visit https://groups.google.com/a/soe.ucsc.edu/d/msgid/genome-mirror/84561f13-da87-4560-b1b1-63cd924428b2%40hpc.nih.gov.