logo

New Response

« Return to the main article

You are replying to:

    • avatar
    • Noel
    • Posted on Mon 12 Aug 2002

    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

Your Comments

Name:
E-mail:
(optional)
Website:
(optional)
Comment: