On Sun, Nov 17, 2002 at 06:03:10PM +0700, budsz wrote: > Thank you for your explaination, But it's valid if I use > [http/ftp/mailto/https]://interger_decimal ?, What part RFC explain this is?
It's application dependent. Most modern web browsers (Netscape 6, Mozilla, probably the latest IE) won't accept IPv4 addresses in URLs as anything other than a dotted quad, and web servers also may not respond in the way you expect. Eg. happy-idiot-talk:~:% lynx -dump http://0x7f000001/ If you can see this, it means that the installation of the [1]Apache web server software on this system was successful. You may now add content to this directory and replace this page. [...etc...] Hexadecimal works fine... happy-idiot-talk:~:% lynx -dump http://2130706433/ Bad Request Your browser sent a request that this server could not understand. _________________________________________________________________ Apache/2.0.43 Server at 2130706433 Port 80 ... whereas decimal doesn't. Note: this is being rejected by the apache2 server: lynx itself is quite happy to use a decimal as a web server address. Many other programs that can take an IPv4 address as an argument will also accept it in an alternate format --- ping(8) is a good example. Nowadays, using a decimal integer as a server address in a URL is unlikely to work It used to be a fairly common trick used by spammers and other undesirables to attempt to hide their identity or try get around some filtering software. Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 26 The Paddocks Savill Way Marlow Tel: +44 1628 476614 Bucks., SL7 1TH UK To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-questions" in the body of the message