I am using now Proxypass for apache. The config is:
<VirtualHost *:80>
ServerName california.####.com
ServerAdmin webmas...@localhost
DocumentRoot /var/www/####
ProxyRequests On
<Proxy *>
Order deny,allow
Allow from all
</Proxy>
ProxyPass /app/com.app http://california.####.com:8081/app/com.app
ProxyPassReverse /app/com.app
http://california.####.com:8081/app/com.app
DirectoryIndex index.php
AccessFileName .htaccess
</VirtualHost>
The aplication is a Comet chat.
With this configuration, the aplication executed from apache works but
some message lost.
The error log shows:
[error] [client ########] proxy: error reading status line from remote
server california.####.com, referer:
http://california.####.com/app/com.app/2179BCD97ED1043BAEE2BAA974B2E73A.cache.html
[error] [client ########] ] proxy: Error reading from remote server
returned by /app/com.app/messenger, referer:
http://california.####.com/app/com.app/2179BCD97ED1043BAEE2BAA974B2E73A.cache.html
I read in some forum that is needed the lines in Location directive of
apache:
SetEnv force-proxy-request-1.0 1
SetEnv proxy-nokeepalive 1
If I put this, the aplications is beeing more and more slowly.
Someone can tell me a solutions please :(
On 15 feb, 22:47, Fran <[email protected]> wrote:
> Hello,
>
> I need your help about GWT integration in apache and tomcat.
>
> I have a GWT aplication that has server side. This server side is
> listening in 8081 port at tomcat.
> I need that the client side be in apache that is listening in port 80,
> so I need call server side at port 8081 of tomcat.
> How can I do?
>
> If I run the aplication int tomcat, its works fine. But If I run the
> aplication in apache, the server side dont work.
>
> Help me please
> Thanks
--
You received this message because you are subscribed to the Google Groups
"Google Web Toolkit" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/google-web-toolkit?hl=en.