+ snprintf(question, sizeof question,
+ "On which port do you want WebCit to listen for HTTP "
+ "requests?\n\nYou can use the standard port (80) if you are "
+ "not running another web server\n(such as Apache), otherwise "
+ "select another port.");
+ sprintf(listenport, "2000");
+ set_value(question, listenport);
+
+ /* Find out where Citadel is. */
+ snprintf(question, sizeof question,
+ "Is the Citadel service running on the same host as WebCit?");
+ if (yesno(question)) {
+ sprintf(hostname, "uds");
+ sprintf(portname, "/usr/local/citadel");
+ set_value("In what directory is Citadel installed?", portname);
+ }
+ else {
+ sprintf(hostname, "127.0.0.1");
+ sprintf(portname, "504");
+ set_value("Enter the host name or IP address of your "
+ "Citadel server.", hostname);
+ set_value("Enter the port number on which Citadel is "
+ "running (usually 504)", portname);
+ }
+