Ignore:
Timestamp:
2013-06-21T00:21:08+12:00 (11 years ago)
Author:
davidb
Message:

Fine-tuning of domain name and URL prefix to better cope with being behind a firewall

File:
1 edited

Legend:

Unmodified
Added
Removed
  • gs2-extensions/afrepo/trunk/src/src/AFRepo.GSDLEXT.class.php.in

    r27339 r27681  
    2525
    2626    public function getURIPrefix() {
    27         return "@afrepo-http-prefix@/afrepo/";
     27        #return "@afrepo-http-prefix@/afrepo/";
     28        return "@public-facing-afrepo-http-prefix@";
    2829    }
    2930
    3031    /* Done this way, can talk to the 4store server directly
    3132           rather than relying on proxying through the PHP-based 'afrepo' server */
     33    public function getTrippleStoreLocalURIPrefix() {
     34      //return "@afrepo-http-prefix@/4store/";
     35        return "@4store-http-prefix@/";
     36    }
     37
    3238    public function getTrippleStoreURIPrefix() {
    33         return "@afrepo-http-prefix@/4store/";
     39        return "@public-facing-4store-http-prefix@";
    3440    }
    3541
     
    3945
    4046    public function getDataEndpoint() {
    41         return $this->getTrippleStoreURIPrefix() . "data/";
     47        return $this->getTrippleStoreLocalURIPrefix() . "data/";
    4248    }
    4349
Note: See TracChangeset for help on using the changeset viewer.