[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Apache et php... notre histoire d'amour a trois continue...



Le 12725ième jour après Epoch,
Pascal BOYER écrivait:

> Yves Rutschle wrote:
>
>>On Tue, Nov 02, 2004 at 11:41:24PM +0100, Pascal BOYER wrote:
>>
>>
>>>>Vous pouvez poster httpd.conf quand même? Ainsi qu'un "ps waux|grep
>>>>apache", ls -al /var/www , et enfin le résultat d'un
>>>>http://localhost/test.php avec dans /root un fichier rw-rw-rw-
>>>> contenant juste <? phpinfo(); ?>
>>>>
>>
>>J'ai raté le début, mais /var/log/apache/error.log fait
>>souvent une bonne lecture pour les longues soirées d'hiver.
>>
>>
>>
>>> Et bien non, je ne peux pas car chezmoicamarche.com tout
>>> fonctionne. Par contre, chezluicamarche.pasdutout il est plus
>>> là. Et j'ai pas accès à sa machine qui de toute facon n'est pas
>>> accéessible (IP en 172.x.x.x)
>>>
>>>
>>
>>Pourquoi 172.x.x.x ne serait-elle pas accessible?
>>
>>
> Ben parce que 172.x.x.x est une classe d'adresse privée tout comme
> 192.168.x.x et 10.x.x.x
> En clair, se sont des adresses qui sont réservées aux intranet et qui
> ne sont pas routées vers le net
> C'est par convention, mais c'est comme ça. Aucun routeur ne route ces
> adresses sur le net

Eh bé non! C'est vrai à un poil près:

Extrait de RFC 1918

RFC 1918        Address Allocation for Private Internets   February 1996


3. Private Address Space

   The Internet Assigned Numbers Authority (IANA) has reserved the
   following three blocks of the IP address space for private internets:

     10.0.0.0        -   10.255.255.255  (10/8 prefix)
     172.16.0.0      -   172.31.255.255  (172.16/12 prefix)
     192.168.0.0     -   192.168.255.255 (192.168/16 prefix)

   We will refer to the first block as "24-bit block", the second as
   "20-bit block", and to the third as "16-bit" block. Note that (in
   pre-CIDR notation) the first block is nothing but a single class A
   network number, while the second block is a set of 16 contiguous
   class B network numbers, and third block is a set of 256 contiguous
   class C network numbers.

-- 
Remember that there is an outside world to see and enjoy.
		-- Hans Liepmann



Reply to: