Good day to all. I have the following problem: I created a virtual machine (centos 5.5) and installed ape like in tutorial (the one with ape-test.local). Everything worked fine. Now I need to use an existing machine with lots of virtual hosts, and I need to run it on one of them.
I edit the virtual hosts, added the ServerAlias lines, edited /etc/hosts added the routes, the server started successfully... Still I get this error: Running test : Init Running test : Loading Client Running test : Loading config Config values are : identifier : ape init : true frequency : 0 scripts : dbdev.gdm.ro/ape-jsf/Source/mootools-core.js,dbdev.gdm.ro/ape-jsf/Source/Core/APE.js,dbdev.gdm.ro/ape-jsf/Source/Core/Events.js,dbdev.gdm.ro/ape-jsf/Source/Core/Core.js,dbdev.gdm.ro/ape-jsf/Source/Pipe/Pipe.js,dbdev.gdm.ro/ape-jsf/Source/Pipe/PipeProxy.js,dbdev.gdm.ro/ape-jsf/Source/Pipe/PipeMulti.js,dbdev.gdm.ro/ape-jsf/Source/Pipe/PipeSingle.js,dbdev.gdm.ro/ape-jsf/Source/Request/Request.js,dbdev.gdm.ro/ape-jsf/Source/Request/Request.Stack.js,dbdev.gdm.ro/ape-jsf/Source/Request/Request.CycledStack.js,dbdev.gdm.ro/ape-jsf/Source/Transport/Transport.longPolling.js,dbdev.gdm.ro/ape-jsf/Source/Transport/Transport.SSE.js,dbdev.gdm.ro/ape-jsf/Source/Transport/Transport.XHRStreaming.js,dbdev.gdm.ro/ape-jsf/Source/Transport/Transport.JSONP.js,dbdev.gdm.ro/ape-jsf/Source/Core/Utility.js,dbdev.gdm.ro/ape-jsf/Source/Core/JSON.js baseUrl : dbdev.gdm.ro/ape-jsf domain : auto server : ape.dbdev.gdm.ro:6969 Running test : Setting document.domain Running test : Checking APE.Config.baseUrl APE JSF Version undefined Running test : Contacting APE Server Can't contact APE Server. Please check the your APE Server is running and the folowing url is pointing to your APE server : http://ape.dbdev.gdm.ro:6969 Something went wrong. If you can't fix it by yourself post a message on the newsgroups <http://groups.google.com/group/ape-project/> with the output below or join our IRC channel <irc://irc.freenode.net/ape-project> My configuration is this: virtual host (httpd.conf): ...... <VirtualHost dbdev.gdm.ro:80> ServerAdmin [email protected] DocumentRoot /var/www/html/dbdev/public_html ServerName dbdev.gdm.ro ServerAlias ape.dbdev.gdm.ro ServerAlias *.ape.dbdev.gdm.ro </VirtualHost> <VirtualHost bancadev.gdm.ro:80> ServerAdmin [email protected] DocumentRoot /var/www/html/banca/public_html ServerName bancadev.gdm.ro ErrorLog logs/bancadev.gdm.ro-error_log CustomLog logs/bancadev.gdm.ro-access_log common </VirtualHost> <VirtualHost phpmyadmin.gdm.ro:80> ServerAdmin [email protected] DocumentRoot /var/www/html/phpmyadmin ServerName phpmyadmin.gdm.ro ErrorLog logs/phpmyadmin.gdm.ro-error_log CustomLog logs/phpmyadmin.gdm.ro-access_log common </VirtualHost> ..... /etc/hosts # Do not remove the following line, or various programs # that require network functionality will fail. 127.0.0.1 webserver.gdm.ro webserver localhost.localdomain localhost ::1 localhost6.localdomain6 localhost6 192.168.1.9 dbdev.gdm.ro 192.168.1.9 bancadev.gdm.ro 192.168.1.9 phpmyadmin.gdm.ro 192.168.1.9 ape.dbdev.gdm.ro 192.168.1.9 0.ape.dbdev.gdm.ro 192.168.1.9 1.ape.dbdev.gdm.ro 192.168.1.9 2.ape.dbdev.gdm.ro 192.168.1.9 3.ape.dbdev.gdm.ro 192.168.1.9 4.ape.dbdev.gdm.ro 192.168.1.9 5.ape.dbdev.gdm.ro 192.168.1.9 6.ape.dbdev.gdm.ro 192.168.1.9 7.ape.dbdev.gdm.ro 192.168.1.9 8.ape.dbdev.gdm.ro 192.168.1.9 9.ape.dbdev.gdm.ro config.js APE.Config.baseUrl = 'dbdev.gdm.ro/ape-jsf'; //APE JSF APE.Config.domain = 'auto'; APE.Config.server = 'ape.dbdev.gdm.ro:6969'; //APE server URL ...... ape.conf uid { # "aped" switch to this user/group if it run as root user = daemon group = daemon } Server { port = 6969 daemon = yes ip_listen = 0.0.0.0 domain = auto rlimit_nofile = 10000 pid_file = /var/run/aped.pid } Log { debug = 1 use_syslog = 0 logfile = /var/log/ape.log } JSONP { eval_func = Ape.transport.read allowed = 1 } Config { #relative to ape.conf modules = /usr/lib/ape/ modules_conf = /etc/ape/ } # Proxy section is used to resolve hostname and allow access to a IP:port (Middleware-TCPSocket feature) #Proxy { # id = freenode # host = irc.freenode.net # port = 6667 # readonly = false #} -- 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/
