Changeset 27681


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

Location:
gs2-extensions/afrepo/trunk/src/src
Files:
2 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
  • gs2-extensions/afrepo/trunk/src/src/httpd-afrepo.conf.in

    r27616 r27681  
    1616</IfModule>
    1717
    18 ProxyPass /4store/data @4store-http-prefix@/data
    19 ProxyPassReverse /4store/data @4store-http-prefix@/data
     18#ProxyPass /4store/data @4store-http-prefix@/data
     19#ProxyPassReverse /4store/data @4store-http-prefix@/data
    2020
    21 ProxyPass /4store/sparql @4store-http-prefix@/sparql
    22 ProxyPassReverse /4store/sparql @4store-http-prefix@/sparql
     21#ProxyPass /4store/sparql @4store-http-prefix@/sparql
     22#ProxyPassReverse /4store/sparql @4store-http-prefix@/sparql
    2323
    24 ProxyPass /4store/test @4store-http-prefix@/test
    25 ProxyPassReverse /4store/test @4store-http-prefix@/test
     24#ProxyPass /4store/test @4store-http-prefix@/test
     25#ProxyPassReverse /4store/test @4store-http-prefix@/test
    2626
    27 ProxyPass /4store/status @4store-http-prefix@/status
    28 ProxyPassReverse /4store/status @4store-http-prefix@/status
     27#ProxyPass /4store/status @4store-http-prefix@/status
     28#ProxyPassReverse /4store/status @4store-http-prefix@/status
     29
     30ProxyPass /afrepo/4store/ @4store-http-prefix@/
     31ProxyPassReverse /afrepo/4store/ @4store-http-prefix@/
     32
    2933
    3034RewriteEngine on
Note: See TracChangeset for help on using the changeset viewer.