Changeset 30561 for main/trunk


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
Files:
8 edited

Legend:

Unmodified
Added
Removed
  • main/trunk/greenstone2/etc/oai.cfg

    r27533 r30561  
    2929# oaiserver program if not specified here, but may use 'xxx.xxx.xxx.xxx'
    3030# IP address, but NOT a human-readable domain name like 'www.mylibrary.com'.
    31 # If you edit this, it must include the port number if not using port 80.
     31# If you edit this, it must include the port number if not using port 8282.
    3232#baseServerURL "http://your-domain-name:port"
    3333
  • main/trunk/greenstone2/llssite.cfg.in

    r24494 r30561  
    33keeplog=0
    44consolelog=0
    5 portnumber=80
     5portnumber=8282
    66keepport=0
    77externalaccess=0
  • main/trunk/greenstone2/perllib/servercontrol.pm

    r30533 r30561  
    378378        my @lines = split(/[\n\r]+/, $contents); # split on carriage-returns and/or linefeeds
    379379        my $enterlib = "";
    380         my $portnumber = ""; # will remain empty (implicit port 80) unless it's specifically been assigned
     380        my $portnumber = "8282"; # will remain empty (implicit port 80) unless it's specifically been assigned
    381381       
    382382        foreach my $line (@lines) {             
  • main/trunk/greenstone2/perllib/util.pm

    r30021 r30561  
    12071207
    12081208#
    1209 # The following comaes from activate.pl
     1209# The following comes from activate.pl
    12101210#
    12111211# Designed to work with a server included with GS.
     
    12421242        my @lines = split(/[\n\r]+/, $contents); # split on carriage-returns and/or linefeeds
    12431243        my $enterlib = "";
    1244         my $portnumber = ""; # will remain empty (implicit port 80) unless it's specifically been assigned
     1244        my $portnumber = "8282"; # will remain empty (implicit port 80) unless it's specifically been assigned
    12451245       
    12461246        foreach my $line (@lines) {             
  • 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.