Here is what our proxy directive's looks like. We used this with RPC and RequestBuilder.
<VirtualHost *:443> ProxyPreserveHost On ProxyRequests Off ServerName xxxx.yyyyyy.com ServerAlias xxxx SSLProxyEngine On SSLProxyCheckPeerCN off SSLProxyCheckPeerExpire off ProxyPass / https://10.2.2.47:443/ retry=3 timeout=15 ProxyPassReverse / https://10.2.2.47:443/ </VirtualHost> Ed On Tue, Aug 11, 2015 at 1:31 AM, Klemens Schrage < [email protected]> wrote: > We solved this by extending RemoteServiceServlet and overriding > doGetSerializationPolicy. > Thie method has the moduleBaseURL as a parameter. We replace the > moduleBaseURL coming in as www.domain.com/proxyname/appname with > www.domain.com/appname and call *super*.doGetSerializationPolicy. This > way we don't get any XSRF errors. > > Note: We check for www.domain.com/proxyname/appname before "blindly" > replacing to avoid real XSRF problems. > > > Best regards > Klemens > > > Am Montag, 10. August 2015 15:36:24 UTC+2 schrieb Kulnor: > >> Am trying to provide public access to a back end GwT app running on back >> end private cloud server going through an Apache httpd server as front end >> proxy. >> I can ProxyPass via AJP or HTTP, but when I try to load the app, I get an >> XSRF error on the first call as the module path requested is not in the >> same web application as for the servlet. >> Tried few variations using ProxyPass / ProxyPassReverse and Substitute >> but no resolution yet. Has anyone configured as similar setup? Any >> suggestion would be appreciated. >> best >> *K >> > -- > You received this message because you are subscribed to the Google Groups > "Google Web Toolkit" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > Visit this group at http://groups.google.com/group/google-web-toolkit. > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/google-web-toolkit. For more options, visit https://groups.google.com/d/optout.
