Hi, I've got a configuration using ProxyPass for a webapp running on
localhost to be accessible from example.com:9999 and a wordpress blog on
example.com:80. the httpd.conf vhost setting like this:


<VirtualHost *:9999>
ServerAdmin ad...@example.com
ServerName www.example.com
ServerAlias example.com

# Indexes + Directory Root.
DirectoryIndex index.php
DocumentRoot /var/www/html/example.com/wordpress

ProxyRequests Off
<Proxy *>
Order deny,allow
Allow from all
</Proxy>
ProxyPass / http://localhost:8888/
ProxyPassReverse / http://www.example.com:9999/
#ProxyPassReverseCookieDomain localhost:8888 www.example.com:9999/
ProxyPassReverseCookiePath / /

</VirtualHost>
<VirtualHost *:80>
ServerAdmin ad...@example.com
ServerName www.example.com
ServerAlias example.com

# Indexes + Directory Root.

DirectoryIndex index.php
DocumentRoot /var/www/html/example.com/wordpress
</VirtualHost>


the computer (192.168.1.5) running apache itself is trying to serve
wordpress from the standard example.com and proxy a localhost app on port
9999 (example.com:9999) to the internet. the wordpress site works from
192.168.1.5 from anywhere on the network (on port 80), but the localhost
app proxy on 192.168.1.5:9999 works on 192.168.1.5 itself but not on other
computers within the network. why would it only work on the originating
server and not its peers?

Reply via email to