Ignore:
Timestamp:
2013-07-04T09:22:29+12:00 (11 years ago)
Author:
davidb
Message:

restructuring so the different servers and PHP code needing to talk to servers operates successfully with ProxyPass

File:
1 edited

Legend:

Unmodified
Added
Removed
  • gs2-extensions/afrepo/trunk/src/AFR-SETUP.sh.in

    r27612 r27749  
    11#
    2 # Edit the following two lines as appropriate
     2# Edit the following variables as appropriate for your setup
    33#
    44
     5# Default values assume servers accessable over http (rather then https) and on consecutive ports that are open to external access
     6
    57protocol="http"
     8
     9# Assume hostname is the name of this computer, and that the port value needed is the one in Apache config file
     10
    611hostname=`hostname`
     12port=`egrep "^Listen" $GEXTAMP_INSTALLED/conf/httpd.conf | awk '{print $2}'`
    713
    8 # Follow two values derived from Apache config file
    9 port=`egrep "^Listen" $GEXTAMP_INSTALLED/conf/httpd.conf | awk '{print $2}'`
     14public_facing_hostname=$hostname
     15public_facing_port=$port
     16public_facing_url_prefix=
     17
     18# Assume the 4store is local, and running on a server one port number higher than the Apache web server
     19f4store_hostname=$hostname
    1020f4store_port=`expr $port + 1`
    1121
     22
     23public_facing_f4store_hostname=$hostname
     24public_facing_f4store_port=$port
     25public_facing_f4store_url_prefix=/4store
Note: See TracChangeset for help on using the changeset viewer.