AnsweredAssumed Answered

Reverse Proxy with SSL

Question asked by borki on Feb 22, 2006
Latest reply on Jul 20, 2007 by alarocca
Hi

We tried to reverse-proxy Alfreso with Apache/SSL in order to support secure access.

We did the following:

1. Create a local socket in tomcat/conf/server.xml
    <Connector port="8081" address="127.0.0.1" maxHttpHeaderSize="8192" debug="5"
               maxThreads="150" minSpareThreads="25" maxSpareThreads="75"
               enableLookups="false" redirectPort="8443" acceptCount="100"
               connectionTimeout="20000" disableUploadTimeout="true"
               proxyName="proxyhostname" proxyPort="443" scheme="https" />

2. Created a proxy rule in apache (in the SSL virtualhost)
RewriteCond    %{HTTP_HOST}            ^proxyhostname$
RewriteRule    ^/+alfresco/(.*)        http://localhost:8081/alfresco/$1 [P]

So far so good.. "Everything" works, but when we try to upload a new docment, the server produces the following error message:
javax.servlet.ServletException: return-page parameter has not been supplied
   org.alfresco.web.app.Application.handleServletError(Application.java:162)
   org.alfresco.web.app.servlet.UploadFileServlet.service(UploadFileServlet.java:137)
   javax.servlet.http.HttpServlet.service(HttpServlet.java:802)

(On the same installation, it works without reverse proxy)

We do not see, why this should not be possible.. we do reverse-proxy almost every application this way.

Any ideas?

Regards,
Reto

Outcomes