03-17-2014 05:24 PM
(a id="nxw_TAB_MANAGE" accesskey="m" onclick="if(!(event.ctrlKey||event.metaKey||event.button==1)) {this.href='http://127.0.0.1:8080/nuxeo/nxpath/default@view_domains?tabIds=%3ATAB_MANAGE&conversationId=0NXMAIN2'}"href="http://website.com/nuxeo/nxpath/default@view_domains?tabIds=%3ATAB_MANAGE" name="nxw_TAB_MANAGE"> (span class="actionLabel ">Manage(/span></a)
This is when you get the properties, of say Home, Document Management, etc.
I've got the proxy to the point it's somewhat working. The only issue (quite large unfortunately) is that I can't figure out how to get the this.href to rewrite over to the website.com that is referenced in the regular href. If I click ctrl and the link, it goes to the normal href, but when clicking the link normally, it'll just go to the 127.0.0.1 local address. I am doing this through IIS as the webserver, I think I just need to add a custom tag, but have been unable to figure out what tag needs to be added. Any help would be appreciated.
03-19-2014 11:42 AM
Incase anyone else tries to do an IIS reroute, the documentation is correct, but 1 additional thing needs to be done. Retain Host Headers, apparently not enabled by default, you have to manually enable, then everything works.
cmd: appcmd.exe set config -section:system.webServer/proxy -preserveHostHeader:true
03-17-2014 08:51 PM
After searching some more, I've found the function getBaseURL() is returning http
03-18-2014 10:06 AM
Have you followed the [reverse proxy doc](http
03-18-2014 10:52 AM
Yes, specifically the IIS version that's linked on the page
03-18-2014 11:54 AM
New finding. the this.href is my inbound rewrite url... I set the inbound just as the server ip and that now shows...
03-18-2014 12:58 PM
All that's needed for virtual hosting is the setting of an HTTP header Nuxeo-Virtual-Host
to something like http://mysite.com
. This is done differently for different reverse proxy solutions, for IIS it seems to be the HTTP_NUXEO_VIRTUAL_HOST
server variable (see doc). For Apache it's RequestHeader append nuxeo-virtual-host
(see doc).
In addition, for things that need the URL but are not triggered through HTTP requests (think for instance of asynchronous sending of emails), the property nuxeo.url
must be set in nuxeo.conf
.
03-18-2014 01:50 PM
This is how my inbound rule is configured per the document.
03-19-2014 11:42 AM
Incase anyone else tries to do an IIS reroute, the documentation is correct, but 1 additional thing needs to be done. Retain Host Headers, apparently not enabled by default, you have to manually enable, then everything works.
cmd: appcmd.exe set config -section:system.webServer/proxy -preserveHostHeader:true
03-19-2014 03:55 PM
Thanks I'll add this to the doc. Could you tell me if there's a user interface for this, to add it below the other configuration steps in the doc?
03-19-2014 04:14 PM
Not within IIS(8.5) that I could find, just the command in the command prompt window.
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.