WebCit: back to port 2000 by default
authorArt Cancro <ajc@citadel.org>
Tue, 19 Dec 2006 14:27:30 +0000 (14:27 +0000)
committerArt Cancro <ajc@citadel.org>
Tue, 19 Dec 2006 14:27:30 +0000 (14:27 +0000)
webcit/README.txt
webcit/setup.c
webcit/webcit.h

index c03deb700b17dc71a877edacc2d232f39a5db0c3..e9d18b106a8334ebf37ccab8766d5c8b71a65250 100644 (file)
@@ -59,7 +59,8 @@ mucking about with Apache configuration files and directories.  WebCit is not
 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]
@@ -78,9 +79,9 @@ specified, such as:
  
   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.
  
index 105b615194911c156b60893dcdb3e83285c732f1..7c4b2cba0f30aeaa7abde9501e621b74b336e42d 100644 (file)
@@ -454,7 +454,7 @@ void install_init_scripts(void)
                "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);
index 0ad8dd926529fc3fe725d92ace8fbf7beeeb5e76..804c2ba31d4c3c1ca24e72a4e6d1ce6b2e6165ac 100644 (file)
@@ -121,7 +121,7 @@ extern locale_t wc_locales[];
 
 #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