'logout' from share webapp behind reverse proxy

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-11-2012 07:13 PM
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–
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–
Labels:
- Labels:
-
Archive
2 REPLIES 2

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-15-2012 08:39 AM
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/
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/
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-26-2014 11:34 AM
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.
JKMount /share server.
Do you know how I can fix this with JKMount? Thanks.
