Ignore:
Timestamp:
2016-06-02T18:07:55+12:00 (8 years ago)
Author:
ak19
Message:

All the changes (I think) to switch from port 80 as default for GS2 to port 8282 as new default.

Location:
main/trunk/greenstone2/runtime-src/src/w32server
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • main/trunk/greenstone2/runtime-src/src/w32server/fnord.cpp

    r28758 r30561  
    370370    write_settings(gsdl_url);
    371371
    372     if (gsdl_port_num != 80) {
     372    if (gsdl_port_num != 8282) {
    373373      url += ":" + text_t(gsdl_port_num);
    374374    }
  • main/trunk/greenstone2/runtime-src/src/w32server/netio.cpp

    r28758 r30561  
    239239   
    240240    // Or choose another port number to try
    241     if (bind_port == 80) bind_port = IPPORT_RESERVED+1;
    242     else if (bind_count == 0) bind_port = 80;
     241    if (bind_port == 8282) bind_port = IPPORT_RESERVED+1;
     242    else if (bind_count == 0) bind_port = 8282;
    243243    else ++bind_port;
    244244  }
  • main/trunk/greenstone2/runtime-src/src/w32server/settings.cpp

    r24504 r30561  
    6060
    6161// general settings
    62 int gsdl_port_num = 80;
     62int gsdl_port_num = 8282;
    6363int gsdl_external_access = 0;
    6464int gsdl_auto_enter = 0;
     
    406406 
    407407  // general settings
    408   gsdl_port_num = 80;
     408  gsdl_port_num = 8282;
    409409  gsdl_external_access = 0;
    410410  if(gsdl_mode_property_prefix == "") {
     
    649649  // port number
    650650  gsdl_port_num = GetDlgItemInt(hwndDlg, SERVER_PORT_EDIT_BOX, &bres, 0);
    651   if (!bres) gsdl_port_num = 80;
     651  if (!bres) gsdl_port_num = 8282;
    652652
    653653  // whether to allow external access or not
  • main/trunk/greenstone2/runtime-src/src/w32server/wincgiutils.cpp

    r9598 r30561  
    3333#include "wincgiutils.h"
    3434
    35 #define default_http_port 80
     35#define default_http_port 8282
    3636
    3737// Attempt to break a url into segments. If the parsing fails, 'name' is
Note: See TracChangeset for help on using the changeset viewer.