Changeset 30565 for main


Ignore:
Timestamp:
2016-06-07T15:56:03+12:00 (8 years ago)
Author:
ak19
Message:

Some changes when moving from default port 80 to 8282 should not have been made

Location:
main/trunk/greenstone2
Files:
3 edited

Legend:

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

    r30561 r30565  
    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 8282.
     31# If you edit this, it must include the port number if not using port 80.
    3232#baseServerURL "http://your-domain-name:port"
    3333
  • main/trunk/greenstone2/runtime-src/src/w32server/fnord.cpp

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

    r30561 r30565  
    239239   
    240240    // Or choose another port number to try
    241     if (bind_port == 8282) bind_port = IPPORT_RESERVED+1;
     241    if (bind_port == 80) bind_port = IPPORT_RESERVED+1;
    242242    else if (bind_count == 0) bind_port = 8282;
    243243    else ++bind_port;
Note: See TracChangeset for help on using the changeset viewer.