cancel
Showing results for 
Search instead for 
Did you mean: 

server section of web-client-config* doesnt seem to work

ofrxnz
Champ in-the-making
Champ in-the-making
So, i have configured my the following proxy settings in 3.2 that i had in 3.0. 

The client portion works, and an unposted "dashboards" section work, however the "server" section does not work…….

Has the server config for the webclient moved or been changed?

this does not throw any errors

web-client-config-custom.xml
<alfresco-config>

   <!– Example of overriding the from email address –>

   <config>
      <client>
         <from-email-address>Alfresco@domain.com</from-email-address>
         <search-max-results>100</search-max-results>
         <zero-byte-file-uploads>true</zero-byte-file-uploads>
         <language-select>false</language-select>
         <cifs-url-suffix>.domain.local</cifs-url-suffix>
         <home-space-permission></home-space-permission>
      </client>
   </config>

  <config evaluator="string-compare" condition="Server" replace="true">
      <server>
         <scheme>https</scheme>
         <hostname>server.domain.com</hostname>
         <port>443</port>
      </server>
   </config>


</alfresco-config>
2 REPLIES 2

jayjayecl
Confirmed Champ
Confirmed Champ
Try adding this snippet before your Server config :


<plug-ins>
      <element-readers>
         <element-reader element-name="server" class="org.alfresco.web.config.ServerElementReader"/>
      </element-readers>
   </plug-ins>

ofrxnz
Champ in-the-making
Champ in-the-making
Thanks for the suggestion.  It didn't appear to do the trick, but it looks like alfresco may be auto detecting the requesting url from the browser….

I just put it behind a proxy and it seemed to figure it out on its own….the final test will be an ssl proxy

Anyone know if this is a new behavior and the "server" section is obsolete?