cancel
Showing results for 
Search instead for 
Did you mean: 

'logout' from share webapp behind reverse proxy

shodges
Champ in-the-making
Champ in-the-making
Hi…

I have alfresco set up behind an Apache reverse proxy. Everything seems to work fine, with one exception: The 'logout' link in the share web application ends up directing me to the non-proxied URL. More specifically:

The actual link target in the html is
https://alfresco.uni.edu/share/page/dologout

That link redirects me to
http://127.0.0.1:8080/share

when I think it really should redirect me to
https://alfresco.uni.edu/share/

I've looked for settings that would tell Alfresco what URL to use for the external, proxied address – I thought the following in alfresco-global.properties might do it:

share.context=share
share.host=alfresco.uni.edu
share.port=443
share.protocol=https

but that didn't seem to have any effect. I'd be grateful for any pointers. Thanks–
2 REPLIES 2

shodges
Champ in-the-making
Champ in-the-making
Hi…

Changing the reverse proxy from http to ajp seems to fix this logout issue, i.e.

instead of

ProxyPass /share/ http://127.0.0.1:8080/share/
ProxyPassReverse /share/ http://127.0.0.1:8080/share/
ProxyPass /alfresco/ http://127.0.0.1:8080/alfresco/
ProxyPassReverse /alfresco/ http://127.0.0.1:8080/alfresco/

use

ProxyPass /share/ ajp://127.0.0.1:8009/share/
ProxyPassReverse /share/ ajp://127.0.0.1:8009/share/
ProxyPass /alfresco/ ajp://127.0.0.1:8009/alfresco/
ProxyPassReverse /alfresco/ ajp://127.0.0.1:8009/alfresco/

demotdi
Champ in-the-making
Champ in-the-making
I have the same issue where logout is redirecting to http and not https. We use mod_jk JKMount instead of proxypass.
JKMount /share server.
Do you know how I can fix this with JKMount? Thanks.