|
|
| Author |
Message |
< Yaws mailing list ~ A guard to ignore a connected client knowing its IP address |
| Guest |
Posted: Tue Apr 08, 2008 2:35 pm |
|
|
|
Guest
|
Hi All,
I have my web site now running YAWS but I have a small problem.
I have a client with a fixed IP (192.168.1.2) connected to the server.
Now I want that the server ignores the connected client if it has the IP
address (192.168.1.2). So I have written:
out(A) ->
{ClientIP, _ClientPort} = A#arg.client_ip_port,
if ClientIP == {192,168,1,2} -> nothing;
true -> ...
...
But I get "Internal error, yaws code crashed".
Any hint? Thank you.
--
***
Jilani KHALDI
http://www.dotpas.org
-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
Register now and save $200. Hurry, offer ends at 11:59 p.m.,
Monday, April 7! Use priority code J8TLD2.
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
Erlyaws-list mailing list
Erlyaws-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/erlyaws-list
Post recived from mailinglist |
|
|
| Back to top |
|
|
|
All times are GMT
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You can attach files in this forum You can download files in this forum
|
|
|