« Return to the main article
Hi Jake,
Sometimes (intranet) port settings are different for servers. Here is some code to check if a webserver is not using the default port 80:
Create a CFD field called Server_Port, value: Server_Port
change the base href formula in:
addServerPort := @If( Server_Port <> "80"; ":" + Server_Port; "" );
"<base href=\"http://" + Server_Name + addServerPort + "/" + DBPath + "\" />");
cheers,
Noel
Hi Jake,
Sometimes (intranet) port settings are different for servers. Here is some code to check if a webserver is not using the default port 80:
Create a CFD field called Server_Port, value: Server_Port
change the base href formula in:
addServerPort := @If( Server_Port <> "80"; ":" + Server_Port; "" );
"<base href=\"http://" + Server_Name + addServerPort + "/" + DBPath + "\" />");
cheers,
Noel