The best it is to use a Deny/Allow
Deny from all
Allow from node1
Allow from node2
I've tried something like that before but it doesn't work.
The nodes are able to properly hit "/" but then they hit the rewrite rule of sending "/" to "/content/mysite/homepage.html" and the nodes no longer are able to register themselves.
Any additional ideas?
It seems your configuration is broken and unsafe (you should have one VirtualHost to receive those requests).
You can set the path used those request via the proxyURL (or proxy-url in AS7) See http://docs.jboss.org/mod_cluster/1.2.0/html/java.properties.html
The server configuration is still in development right now so I'm aware / not suprised it may be unsafe,
But if I understand correctly, we can utilize a VirtualHost listening for example on port 81 to have the nodes register themselves with Apache, then on the VirtualHost that is running on port 80 we utilize the registered nodes?
And I just looked at the proxyURL so would that mean if i set it up as "node-registration" the nodes would register themselves with Apache utilizing "/node-registration" instead of "/"?
Both options look feasible if I understand correctly, but is one way more preferred than the other or is it a more user preference type of deal? (If I understood correctly)
The idea to have 2 VirtualHost having one on 81 and the other one 81 is OK.
The proxyURL is just URL send in the METHOD /URL HTTP/1.,1 the mcpm is in the data of the request.
That worked perfectly for my needs and I have it working exactly how I want it.
Thanks for the hepl.