Hi Joost,
The policy server should listen in same ip address that the webserver that is hosting the silverlight client. This is a requisite of Silverlight 2.
Glacier2 could listen on a different ip as far as the policy allow connection to that ip address port and the client application use the right glacier2 ip.
For be able to host your application on linux you need to compile the policy server with mono and run it there.
We have already tested that, but unfortunately the Makefile for build policyserver with mono was not include yet in IceSl, most probably we will include a Makefile for build PolicyServer with mono and posible a mono binary policy server in next IceSl release. Meanwhile you could use the attached Makefile.gz to build policyserver with mono from sources.
Just download IceSl-0.3.3 sources
unzip sources
untar the attached Makefile.gz there
Code:
cd IceSL-0.3.3/sl/src/PolicyServer
tar xvf Makefile.gz
make
Then you could run it with following command
Code:
mono ../../bin/policyserver.exe 0.0.0.0 ../../bin/PolicyResponse.xml
Policy Server started...
Accepting Policy Requests...
Note that in linux policysever.exe need to be run as root as it binds to a privileged port < 1024
Hope this help and let us know if you have more questions with this setup,
Regards José