Ignore:
Timestamp:
2023-11-15T11:37:24+13:00 (7 months ago)
Author:
kjdon
Message:

we want urls to start at library, not greenstone3 - we are using a baseHref. And we may be mapping to a different context. But, will this muck up somewhere else??

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/trunk/greenstone3/src/java/org/greenstone/gsdl3/core/MessageRouter.java

    r36869 r38372  
    171171        this.class_loader = new CustomClassLoader(this.getClass().getClassLoader(), GSFile.siteResourceDir(this.site_home));
    172172
     173        // we want urls to start at library, not greenstone3 - we are using a baseHref.
     174        // And we may be mapping to a different context
     175        // But, will this muck up somewhere else??
     176        this.site_http_address = this.library_name+"/sites/"+this.site_name;
     177        /*
    173178        String web_address = GlobalProperties.getGSDL3WebAddress();
    174         if (web_address.equals("")) { // *****
     179        if (web_address.equals("")) {
    175180            this.site_http_address = this.library_name+"/sites/"+this.site_name;
    176181        } else {
    177182            this.site_http_address = web_address + "/"+this.library_name+"/sites/" + this.site_name;
    178183        }
     184        */
    179185        // are we behind a firewall?? - is there a better place to set up the proxy?
    180186        String host = GlobalProperties.getProperty("proxy.host");
Note: See TracChangeset for help on using the changeset viewer.