I' using Ubuntu and I'm loosing my mind with the "Untrusted URL" error
in hosted mode.
I'm already tryied de tips in that below post.
thanx a lot
My /etc/hosts, apolo is the machine name, change that causes a "sudo
error":
127.0.0.1 apolo.localdomain apolo
Error in hosted mode:
[WARN] Confirmation was required to visit untrusted URL:
'http://www.localhost.com:8888/com.destaca.testes.FirstGWT/FirstGWTInLinux.html
[WARN] reason:
http://www.localhost.com:8888/com.destaca.testes.FirstGWT/FirstGWT.html
is not in the whitelist
I tried add whitelist in *.shell file:
#!/bin/sh
APPDIR=`dirname $0`;
java -cp
"$APPDIR/src:$APPDIR/bin:/home/eduardo/Sites/GWTTeste/gwt-user.jar:/home/eduardo/Sites/GWTTeste/gwt-dev-linux.jar"
com.google.gwt.dev.GWTShell -whitelist
"^http[:][/][/]www[.]localhost[.]com[:]8888" -out "$APPDIR/www" "$@"
com.destaca.testes.FirstGWT/FirstGWT.html
the error:
www.localhost.com could not be found. Please check the name and try
again
I'd other problems with apache linux too, then I give up. Maybe other
day....