httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Doug McNutt <dougl...@macnauchtan.com>
Subject Re: [users@httpd] Apache shows code when using IP address
Date Mon, 09 Nov 2009 17:47:59 GMT
At 18:12 +0100 11/9/09, André Warnier wrote:
>To see why it may not be the correct patch, try to enter your IP address with an extra
zero that should not normally matter, for example :
>if your IP address was
>100.200.21.123
>then try
>http://100.200.021.123/...

I once tried adding zeros like that and got quite surprised.

021 as above gets interpreted as an octal number in accordance with IP and C standards so
that 100.200.021.123 equivalent to 100.200.17.123
-- 

--> A fair tax is one that you pay but I don't <--

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message