intended to be a general-purpose web server, however -- it *only* provides a
front end to Citadel. If you do not have another web server running, you may
run WebCit on port 80; however, if you have Apache or some other web server
-listening on port 80, you must run WebCit on another port.
+listening on port 80, you must run WebCit on another port. If you do not
+specify a port number, WebCit will bind to port 2000.
To compile from source, enter the usual commands:
./configure --prefix=/usr/local/webcit [or whatever directory you prefer]
http://your.host.name
- (or if you specified some other port, such as 8080 in this example...)
+ (or if you specified some other port, such as 2000 in this example...)
- http://your.host.name:8080
+ http://your.host.name:2000
...and log in.
"requests?\n\nYou can use the standard port (80) if you are "
"not running another\nweb server (such as Apache), otherwise "
"select another port.");
- sprintf(http_port, "80");
+ sprintf(http_port, "2000");
set_value(question, http_port);
uname(&my_utsname);
sprintf(suggested_url, "http://%s:%s/", my_utsname.nodename, http_port);
#define SLEEPING 180 /* TCP connection timeout */
#define WEBCIT_TIMEOUT 900 /* WebCit session timeout */
-#define PORT_NUM 80 /* port number to listen on */
+#define PORT_NUM 2000 /* port number to listen on */
#define SERVER "WebCit v7.00" /* who's in da house */
#define DEVELOPER_ID 0
#define CLIENT_ID 4