alHost
classes and NRE's CallModel, HttpCall, HttpServerCall classes.
Best regards,
Jerome
> -Message d'origine-
> De : Piyush Purang [mailto:[EMAIL PROTECTED]
> Envoyé : jeudi 19 octobre 2006 20:29
> À : discuss@restlet.tigris.org
> Objet : Re: Running a simpl
thanks that explains it ...and so does the
result.getAllowedNames().add("127.0.0.1"); in the static method
createLocalHost
Hi Pyiush,
> I added this line
>
> host.getAllowedNames().add("localhost");
>
>
> and now my url
>
> localhost:8182/something works
>
> but
>
> 127.0.0.1:8182/something doesn't work
[...]
> Could you answer: why didn't the first one work for the
> 127.0.0.1 url?
Hi Jerome,
I added this line
host.getAllowedNames().add("localhost");
and now my url
localhost:8182/something works
but
127.0.0.1:8182/something doesn't work
Using getDefaultHost() and then attaching the target works fine in
both the cases.
And when I do
VirtualHost h
Hi Pyiush,
Your virtual host doesn't allow any domain names. That's why it fails. Use
VirtualHost.getAllowedNames();
You can also use container.getDefaultHost().attach() directly if you prefer,
it is setup to accept all requests.
Best regards,
Jerome
> -Message d'origine-
> De : Piyu
5 matches
Mail list logo