Bonjour à tous, I've been failing to configure APE with Apache on separate (virtual) machines.
# host vhsroom.net vhsroom.net A 10.1.0.17 # host ape.vhsroom.net ape.vhsroom.net A 10.1.0.17 # host 0.ape.vhsroom.net 0.ape.vhsroom.net A 10.1.0.17 # host www.vhsroom.net www.vhsroom.net A 10.1.0.80 Here is what Apache says when calling http://www.vhsroom.net/APE_JSF/Demos/Chat/demo.html ==> /var/log/apache2/error.log <== [Mon Jul 13 23:02:28 2009] [error] [client 10.1.0.80] (70014)End of file found: proxy: error reading status line from remote server vhsroom.net [Mon Jul 13 23:02:28 2009] [error] [client 10.1.0.80] proxy: Error reading from remote server returned by /APE_JSF/Demos/Chat/demo.html ==> /var/log/apache2/other_vhosts_access.log <== www.vhsroom.net:80 10.1.0.80 - - [13/Jul/2009:23:02:26 +0200] "GET /APE_JSF/Demos/Chat/demo.html HTTP/1.1" 502 356 "-" "Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.0.11) Gecko/2009061208 Iceweasel/3.0.6 (Debian-3.0.6-1)" The Apache2 configuration for the VirtualHost (I've been trying different thinhs to no avail): <VirtualHost 10.1.0.80:80> ServerName www.vhsroom.net ServerAlias vhsroom.net ape.vhsroom.net *.ape.vhsroom.net DocumentRoot /var/www/vhsroom.net/public <Directory "/var/www/vhsroom.net/public"> Options FollowSymlinks AllowOverride None Order allow,deny Allow from all </Directory> AddDefaultCharset UTF-8 ProxyRequests Off ProxyPreserveHost On ProxyPass / http://vhsroom.net:80/ ProxyPassReverse / http://vhsroom.net:80/ <Proxy *> Order allow,deny Allow from all # Deny from all </Proxy> RewriteEngine on RewriteCond %{HTTP_HOST} ^[0-9]+.*$ RewriteRule /?(.*)$ http://vhsroom.net:80/?%{REMOTE_ADDR} [QSA,P] # Deflate AddOutputFilterByType DEFLATE text/html text/plain text/xml application/xml application/xhtml+xml text/javascript text/css BrowserMatch ^Mozilla/4 gzip-only-text/html BrowserMatch ^Mozilla/4.0[678] no-gzip BrowserMatch \bMSIE !no-gzip !gzip-only-text/html </VirtualHost> The ape.conf server configuration part is: Server { port = 80 daemon = no ip_listen = 10.1.0.17 ip_local = 127.0.0.1 domain = vhsroom.net rlimit_nofile = 65536 } The demos config.js: APE.Config.baseUrl = 'http://vhsroom.net/APE_JSF/Source'; //APE JSF APE.Config.domain = 'vhsroom.net'; //Your domain, must be the same than the domain in aped.conf of your server APE.Config.server = 'ape.vhsroom.net'; //APE server URL Is there any way to make APE more verbose? Thanks for your help, == hk -- |_/H\_| http://hackerspaces.org/ | |o| | [_xSx_] irc://irc.freenode.net/hackerspaces | | |o| ! \O/ ! xmpp:[email protected] |o|o|o| : : : --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "APE Project" 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/ape-project?hl=en --- APE Project (Ajax Push Engine) Official website : http://www.ape-project.org/ Git Hub : http://github.com/APE-Project/ -~----------~----~----~----~------~----~------~--~---
