I've started the aped server, and pointed my browser to
http://0.ape.prestocab.com/
and I get the following error:
"Proxy Error
The proxy server received an invalid response from an upstream server.
The proxy server could not handle the request GET /.
Reason: Error reading from remote server"
Here is my bin/ape.conf file:
uid {
# "aped" switch to this user/group if it run as root
user = www-data
group = www-data
}
Server {
port = 6969
daemon = yes
ip_listen = 0.0.0.0
ip_local = 212.78.231.26
domain = prestocab.com
rlimit_nofile = 65536
}
# 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
#}
And here is a copy of my site's configuration file (located at /etc/
apache2/sites-available)
<VirtualHost *:80>
ServerAdmin [email protected]
ServerName www.prestocab.com
###Added for APE
ServerAlias ape.prestocab.com
ServerAlias *.ape.prestocab.com
#end
DocumentRoot /home/prestocab/prestocab.com/www
DirectoryIndex index.php index.html
<Directory /home/prestocab/prestocab.com/www>
Options Indexes FollowSymLinks MultiViews
#EOH 2009-01-28: disallows directory browsing:
Options -Indexes
AllowOverride all
Order allow,deny
allow from all
php_value session.cookie_domain ".prestocab.com"
###Added for APE
RewriteEngine on
RewriteCond %{HTTP_HOST} ^[0-9]+.*$
RewriteRule /?(.*)$ http://%{HTTP_HOST}:6969/?%{REMOTE_ADDR}
[QSA,P]
#end
</Directory>
<Directory /home/prestocab/prestocab.com/www/private>
deny from all
</Directory>
<Directory /home/prestocab/prestocab.com/www/logs>
deny from all
</Directory>
ErrorLog /var/log/apache2/error.log
# Possible values include: debug, info, notice, warn, error,
crit,
# alert, emerg.
LogLevel warn
CustomLog /var/log/apache2/access.log combined
</VirtualHost>
I've also updated my DNS records at everydns.com to the following:
[IMG]http://i45.tinypic.com/2yoqvsy.jpg[/IMG]
Anyone have any ideas as to what I might be doing wrong?
Many thanks,
--
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/