• things I don't understand

    From =?ISO-8859-1?Q?Fran=E7ois_Patte?=@110:110/2002 to All on Tue Dec 3 21:47:38 2013
    Bonsoir,


    I am facing a problem that I don't understand: I try to help a friend to
    setup a web server on a mac.

    apache2 is installed and running; if I request the url http://127.0.0.1
    it is OK: "It Works!" is displayed.

    If I request the same url using localhost instead of 127.0.0.1, the
    answer is: firefox cannot connect to this site (something like this). I
    checked the file /etc/hosts and it is correct: "127.0.0.1
    localhost" is the first line.

    If I request http://192.168.1.12 (IP given by the livebox on the private network), it is also impossible to connect to the http server.


    I don't know much on mac, but I don't understand why it is possible to
    connect to the server through 127.0.0.1 and not with localhost, or IP
    address on the local network.


    If someone could give me some clues or test to perform, I will be
    gratefull to him...


    Thanks for attention.

    --
    Fran‡ois Patte
    Universit‚ Paris Descartes

    --- MBSE BBS v1.0.1 (GNU/Linux-i386)
    * Origin: Service de news de lacave.net (110:110/2002@linuxnet)
  • From scrat@110:110/2002 to All on Tue Dec 3 22:18:20 2013
    On Tue, 03 Dec 2013 22:47:38 +0100, Fran‡ois Patte wrote:

    Bonsoir,


    I am facing a problem that I don't understand: I try to help a friend to setup a web server on a mac.

    apache2 is installed and running; if I request the url http://127.0.0.1
    it is OK: "It Works!" is displayed.

    If I request the same url using localhost instead of 127.0.0.1, the
    answer is: firefox cannot connect to this site (something like this). I checked the file /etc/hosts and it is correct: "127.0.0.1 localhost" is
    the first line.

    If I request http://192.168.1.12 (IP given by the livebox on the private network), it is also impossible to connect to the http server.


    I don't know much on mac, but I don't understand why it is possible to connect to the server through 127.0.0.1 and not with localhost, or IP
    address on the local network.


    If someone could give me some clues or test to perform, I will be
    gratefull to him...


    Thanks for attention.

    Fix your DNS then fix you apache config


    --- MBSE BBS v1.0.1 (GNU/Linux-i386)
    * Origin: A noiseless patient Spider (110:110/2002@linuxnet)
  • From Pascal Hambourg@110:110/2002 to All on Tue Dec 3 23:20:23 2013
    Reply-To: pascal.news@plouf.fr.eu.org

    Fran‡ois Patte a ‚crit :

    I am facing a problem that I don't understand: I try to help a friend to setup a web server on a mac.

    Then why post into a Linux newsgroup ?

    apache2 is installed and running; if I request the url http://127.0.0.1
    it is OK: "It Works!" is displayed.

    If I request the same url using localhost instead of 127.0.0.1, the
    answer is: firefox cannot connect to this site (something like this). I

    The *exact* error message is important.
    What happens is you run the following in a terminal :

    $ telnet localhost http

    checked the file /etc/hosts and it is correct: "127.0.0.1
    localhost" is the first line.

    If I request http://192.168.1.12 (IP given by the livebox on the private network), it is also impossible to connect to the http server.

    Maybe the web server listens only on 127.0.0.1. You can check with netstat.

    --- MBSE BBS v1.0.1 (GNU/Linux-i386)
    * Origin: Plouf ! (110:110/2002@linuxnet)
  • From Adam Wysocki@110:110/2002 to All on Wed Dec 4 08:00:10 2013
    Fran‡ois Patte <francois.patte@mi.parisdescartes.fr> wrote:

    If I request the same url using localhost instead of 127.0.0.1, the
    answer is: firefox cannot connect to this site (something like this).
    I checked the file /etc/hosts and it is correct: "127.0.0.1
    localhost" is the first line.

    Do you have a proxy in firefox?

    AW

    --- MBSE BBS v1.0.1 (GNU/Linux-i386)
    * Origin: ATMAN - ATM S.A. (110:110/2002@linuxnet)
  • From =?ISO-8859-15?Q?Fran=E7ois_Patte?=@110:110/2002 to All on Wed Dec 4 09:43:33 2013
    Le 04/12/2013 00:20, Pascal Hambourg a ‚crit :
    Fran‡ois Patte a ‚crit :

    I am facing a problem that I don't understand: I try to help a friend to
    setup a web server on a mac.

    Then why post into a Linux newsgroup ?

    I did not find a "mac.networking group...

    macOSX is a freebsd based system...



    apache2 is installed and running; if I request the url http://127.0.0.1
    it is OK: "It Works!" is displayed.

    If I request the same url using localhost instead of 127.0.0.1, the
    answer is: firefox cannot connect to this site (something like this). I

    The *exact* error message is important.
    What happens is you run the following in a terminal :

    La connexion a ‚chou‚
    (connection failed)

    Firefox ne peut ‚tablir de connexion avec le serveur … l'adresse
    86.xxx.xx.xx.

    FF cannot establish a connection with the server at this address...

    Le site est peut-ˆtre temporairement indisponible ou surcharg‚.
    R‚essayez plus tard ;

    The site maybe busy, try later...

    Si vous n'arrivez … naviguer sur aucun site, v‚rifiez la connexion au
    r‚seau de votre ordinateur;

    If you cannot connect to any site, check your network connection

    (network is working)

    Si votre ordinateur ou votre r‚seau est prot‚g‚ par un pare-feu ou un
    proxy, assurez-vous que firefox est autoris‚ … acc‚der au Web.

    If your computer or network uses a FW or a proxy...

    (no proxy, FW deactivated)


    $ telnet localhost http

    connection refused


    checked the file /etc/hosts and it is correct: "127.0.0.1
    localhost" is the first line.

    If I request http://192.168.1.12 (IP given by the livebox on the private
    network), it is also impossible to connect to the http server.

    Maybe the web server listens only on 127.0.0.1. You can check with netstat.

    netstat is strange on a mac, I used lsof...

    Anyway, what is ununderstable is that I can connect to the server using
    the local IP (127.0.0.1) and not using localhost... So the server listen
    on port 80 but it does not recognize the name localhost... in spite of /etc/hosts

    I did not change the default apache2 config files (which are the same as
    on linux).

    Thanks


    --
    Fran‡ois Patte
    Universit‚ Paris Descartes

    --- MBSE BBS v1.0.1 (GNU/Linux-i386)
    * Origin: Service de news de lacave.net (110:110/2002@linuxnet)
  • From =?UTF-8?B?RnJhbsOnb2lzIFBhdHRl?=@110:110/2002 to All on Wed Dec 4 09:45:04 2013
    Le 03/12/2013 23:18, scrat a ‚crit :
    On Tue, 03 Dec 2013 22:47:38 +0100, Fran‡ois Patte wrote:

    Bonsoir,


    I am facing a problem that I don't understand: I try to help a friend to
    setup a web server on a mac.

    apache2 is installed and running; if I request the url http://127.0.0.1
    it is OK: "It Works!" is displayed.

    If I request the same url using localhost instead of 127.0.0.1, the
    answer is: firefox cannot connect to this site (something like this). I
    checked the file /etc/hosts and it is correct: "127.0.0.1 localhost" is
    the first line.

    If I request http://192.168.1.12 (IP given by the livebox on the private
    network), it is also impossible to connect to the http server.


    I don't know much on mac, but I don't understand why it is possible to
    connect to the server through 127.0.0.1 and not with localhost, or IP
    address on the local network.


    If someone could give me some clues or test to perform, I will be
    gratefull to him...


    Thanks for attention.

    Fix your DNS then fix you apache config


    DNS for 127.0.0.1 ? hum!

    --
    Fran‡ois Patte
    Universit‚ Paris Descartes

    --- MBSE BBS v1.0.1 (GNU/Linux-i386)
    * Origin: Service de news de lacave.net (110:110/2002@linuxnet)
  • From Richard Kettlewell@110:110/2002 to All on Wed Dec 4 10:42:06 2013
    Fran‡ois Patte <francois.patte@mi.parisdescartes.fr> writes:
    Le 04/12/2013 00:20, Pascal Hambourg a ‚crit :
    Fran‡ois Patte a ‚crit :

    La connexion a ‚chou‚
    (connection failed)

    Firefox ne peut ‚tablir de connexion avec le serveur … l'adresse 86.xxx.xx.xx.
    ^^^^^^^^^^^^

    That’s not a loopback address. You need to figure out why your web
    browser is trying to connect to that address.

    $ telnet localhost http
    connection refused

    What is the complete output?

    checked the file /etc/hosts and it is correct: "127.0.0.1
    localhost" is the first line.

    What is the complete contents of /etc/hosts?

    If I request http://192.168.1.12 (IP given by the livebox on the private >>> network), it is also impossible to connect to the http server.

    Maybe the web server listens only on 127.0.0.1. You can check with netstat.

    netstat is strange on a mac, I used lsof...

    So what does it say about the web server?

    --
    http://www.greenend.org.uk/rjk/

    --- MBSE BBS v1.0.1 (GNU/Linux-i386)
    * Origin: Anjou (110:110/2002@linuxnet)
  • From Richard Kettlewell@110:110/2002 to All on Wed Dec 4 10:43:02 2013
    Richard Kettlewell <rjk@greenend.org.uk> writes:
    Fran‡ois Patte <francois.patte@mi.parisdescartes.fr> writes:
    Le 04/12/2013 00:20, Pascal Hambourg a ‚crit :
    Fran‡ois Patte a ‚crit :

    checked the file /etc/hosts and it is correct: "127.0.0.1
    localhost" is the first line.

    What is the complete contents of /etc/hosts?

    Oh, one other thing. What does ‘host localhost’ produce?

    --
    http://www.greenend.org.uk/rjk/

    --- MBSE BBS v1.0.1 (GNU/Linux-i386)
    * Origin: Anjou (110:110/2002@linuxnet)
  • From Adam Wysocki@110:110/2002 to All on Wed Dec 4 12:59:16 2013
    Fran‡ois Patte <francois.patte@mi.parisdescartes.fr> wrote:

    $ telnet localhost http

    connection refused

    So localhost resolves to *something*. Run:

    grep localhost /etc/hosts

    Is there only one localhost there?

    What if you ping localhost? What does it ping? Will it be this 83.... address that popped out in Firefox?

    AW

    --- MBSE BBS v1.0.1 (GNU/Linux-i386)
    * Origin: ATMAN - ATM S.A. (110:110/2002@linuxnet)
  • From Jorgen Grahn@1:0/0 to All on Wed Dec 4 23:15:44 2013
    On Wed, 2013-12-04, Fran‡ois Patte wrote:
    Le 04/12/2013 00:20, Pascal Hambourg a ‚crit :
    Fran‡ois Patte a ‚crit :

    I am facing a problem that I don't understand: I try to help a friend to >>> setup a web server on a mac.

    Then why post into a Linux newsgroup ?

    I did not find a "mac.networking group...

    macOSX is a freebsd based system...

    Then why post into a Linux newsgroup ?

    /Jorgen

    --
    // Jorgen Grahn <grahn@ Oo o. . .
    \X/ snipabacken.se> O o .

    --- MBSE BBS v1.0.1 (GNU/Linux-i386)
    * Origin: The Kofo System II BBS telnet://fido2.kofobb
  • From unruh@1:0/0 to All on Wed Dec 4 23:18:12 2013
    On 2013-12-03, Fran?ois Patte <francois.patte@mi.parisdescartes.fr> wrote:
    Bonsoir,


    I am facing a problem that I don't understand: I try to help a friend to setup a web server on a mac.

    You do know that this is a linux newsgroup not a mac newsgroup?


    apache2 is installed and running; if I request the url http://127.0.0.1
    it is OK: "It Works!" is displayed.

    If I request the same url using localhost instead of 127.0.0.1, the
    answer is: firefox cannot connect to this site (something like this). I checked the file /etc/hosts and it is correct: "127.0.0.1
    localhost" is the first line.

    On linux the place which tells the resolver which places to look for ip addresses is in /etc/nsswitch.conf. It may also be there in Mac OS.
    hosts: mdns4_minimal files nis dns mdns4
    The important ones are the "files" which tells it to use /etc/hosts, and
    the dns, whichtells it to go out to the dns server in /etc/resolv.conf.


    If I request http://192.168.1.12 (IP given by the livebox on the private network), it is also impossible to connect to the http server.


    I don't know much on mac, but I don't understand why it is possible to connect to the server through 127.0.0.1 and not with localhost, or IP
    address on the local network.




    If someone could give me some clues or test to perform, I will be
    gratefull to him...


    Thanks for attention.


    --- MBSE BBS v1.0.1 (GNU/Linux-i386)
    * Origin: The Kofo System II BBS telnet://fido2.kofobb
  • From =?ISO-8859-1?Q?Fran=E7ois_Patte?=@110:110/2002 to All on Thu Dec 5 17:12:51 2013
    Le 05/12/2013 00:15, Jorgen Grahn a ‚crit :
    On Wed, 2013-12-04, Fran‡ois Patte wrote:
    Le 04/12/2013 00:20, Pascal Hambourg a ‚crit :
    Fran‡ois Patte a ‚crit :

    I am facing a problem that I don't understand: I try to help a friend to >>>> setup a web server on a mac.

    Then why post into a Linux newsgroup ?

    I did not find a "mac.networking group...

    macOSX is a freebsd based system...

    Then why post into a Linux newsgroup ?

    Sorry to have disturbed your list.... I hope you will recover soon.


    --
    Fran‡ois Patte
    Universit‚ Paris Descartes

    --- MBSE BBS v1.0.1 (GNU/Linux-i386)
    * Origin: Service de news de lacave.net (110:110/2002@linuxnet)
  • From unruh@1:0/0 to All on Thu Dec 5 18:54:25 2013
    On 2013-12-05, Fran?ois Patte <francois.patte@mi.parisdescartes.fr> wrote:
    Le 05/12/2013 00:15, Jorgen Grahn a ?crit :
    On Wed, 2013-12-04, Fran?ois Patte wrote:
    Le 04/12/2013 00:20, Pascal Hambourg a ?crit :
    Fran?ois Patte a ?crit :

    I am facing a problem that I don't understand: I try to help a friend to >>>>> setup a web server on a mac.

    Then why post into a Linux newsgroup ?

    I did not find a "mac.networking group...

    macOSX is a freebsd based system...

    Then why post into a Linux newsgroup ?

    Sorry to have disturbed your list.... I hope you will recover soon.

    You ask for help in a group which has minimal knowledge of the system
    you want help for, and when asked you get snarky? I appologize for
    having replied to your post with an attempt to help.





    --- MBSE BBS v1.0.1 (GNU/Linux-i386)
    * Origin: The Kofo System II BBS telnet://fido2.kofobb
  • From =?ISO-8859-1?Q?Fran=E7ois_Patte?=@110:110/2002 to All on Thu Dec 5 20:10:04 2013
    Le 05/12/2013 19:54, unruh a ‚crit :
    On 2013-12-05, Fran?ois Patte <francois.patte@mi.parisdescartes.fr> wrote:
    Le 05/12/2013 00:15, Jorgen Grahn a ?crit :
    On Wed, 2013-12-04, Fran?ois Patte wrote:
    Le 04/12/2013 00:20, Pascal Hambourg a ?crit :
    Fran?ois Patte a ?crit :

    I am facing a problem that I don't understand: I try to help a friend to
    setup a web server on a mac.

    Then why post into a Linux newsgroup ?

    I did not find a "mac.networking group...

    macOSX is a freebsd based system...

    Then why post into a Linux newsgroup ?

    Sorry to have disturbed your list.... I hope you will recover soon.

    You ask for help in a group which has minimal knowledge of the system
    you want help for, and when asked you get snarky? I appologize for
    having replied to your post with an attempt to help.

    I did not replied using your answer but an answer where there were
    absolutely no attempt to help; just words... If people have nothing to
    say, why do they say something?

    Has this list such a traffic that my small mail had scewed up the bandwidth?

    mac system is closed to unix system and I thought that someone with some knowledge in *networwing* could have some idea about my problem (and you
    did); my question was about the strange behaviour of apache which
    answers on 127.0.0.1 and not on localhost...

    For some people, if you talk about another system than the one they use,
    it is like to talk of the devil in a church and they immediately send a
    fatwa.


    --
    Fran‡ois Patte
    Universit‚ Paris Descartes

    --- MBSE BBS v1.0.1 (GNU/Linux-i386)
    * Origin: Service de news de lacave.net (110:110/2002@linuxnet)
  • From Whiskers@110:110/2002 to All on Thu Dec 5 21:16:40 2013
    On 2013-12-03, Fran‡ois Patte <francois.patte@mi.parisdescartes.fr> wrote:
    Bonsoir,


    I am facing a problem that I don't understand: I try to help a friend to setup a web server on a mac.

    apache2 is installed and running; if I request the url http://127.0.0.1
    it is OK: "It Works!" is displayed.

    If I request the same url using localhost instead of 127.0.0.1, the
    answer is: firefox cannot connect to this site (something like this). I checked the file /etc/hosts and it is correct: "127.0.0.1
    localhost" is the first line.

    If I request http://192.168.1.12 (IP given by the livebox on the private network), it is also impossible to connect to the http server.


    I don't know much on mac, but I don't understand why it is possible to connect to the server through 127.0.0.1 and not with localhost, or IP
    address on the local network.


    If someone could give me some clues or test to perform, I will be
    gratefull to him...


    Thanks for attention.

    Choosing a Subject that has something to do with your question, is
    always a good start. I've suggested an appropriate change.

    This web search <https://ixquick.com/do/search?q=apache+mac+osx> looks
    useful; the very first non-sponsored item I see is "Using Apache and PHP
    on MacOS X - Dev Articles" <www.devarticles.com/c/a/Apache/Using-Apache-and-PHP-on-Mac-OS-X/>

    If you want to run Unix or Linux open source software on a Mac, look at
    "Fink" <http://www.finkproject.org/>. But OS X apparently comes with
    Apache already installed, in Apple-ish form.

    --
    -- ^^^^^^^^^^
    -- Whiskers
    -- ~~~~~~~~~~

    --- MBSE BBS v1.0.1 (GNU/Linux-i386)
    * Origin: is an alien concept (110:110/2002@linuxnet)
  • From Thad Floryan@110:110/2002 to All on Thu Dec 5 22:24:05 2013
    On 12/5/2013 1:16 PM, Whiskers wrote:
    [...]
    Choosing a Subject that has something to do with your question, is
    always a good start. I've suggested an appropriate change.
    [...]

    And it is a good suggestion. :-)

    More people should read and abide this:

    http://www.catb.org/~esr/faqs/smart-questions.html

    and these:

    http://linux.sgms-centre.com/misc/netiquette.php

    http://howto-pages.org/posting_style

    Thad

    --- MBSE BBS v1.0.1 (GNU/Linux-i386)
    * Origin: ThadLABS (110:110/2002@linuxnet)
  • From scrat@110:110/2002 to All on Thu Dec 5 22:25:03 2013
    On Thu, 05 Dec 2013 21:10:04 +0100, Fran‡ois Patte wrote:

    Le 05/12/2013 19:54, unruh a ‚crit :
    On 2013-12-05, Fran?ois Patte <francois.patte@mi.parisdescartes.fr>
    wrote:
    Le 05/12/2013 00:15, Jorgen Grahn a ?crit :
    On Wed, 2013-12-04, Fran?ois Patte wrote:
    Le 04/12/2013 00:20, Pascal Hambourg a ?crit :
    Fran?ois Patte a ?crit :

    I am facing a problem that I don't understand: I try to help a
    friend to setup a web server on a mac.

    Then why post into a Linux newsgroup ?

    I did not find a "mac.networking group...

    macOSX is a freebsd based system...

    Then why post into a Linux newsgroup ?

    Sorry to have disturbed your list.... I hope you will recover soon.

    You ask for help in a group which has minimal knowledge of the system
    you want help for, and when asked you get snarky? I appologize for
    having replied to your post with an attempt to help.

    I did not replied using your answer but an answer where there were
    absolutely no attempt to help; just words... If people have nothing to
    say, why do they say something?

    Has this list such a traffic that my small mail had scewed up the
    bandwidth?

    mac system is closed to unix system and I thought that someone with some knowledge in *networwing* could have some idea about my problem (and you did); my question was about the strange behaviour of apache which
    answers on 127.0.0.1 and not on localhost...



    I know networking and apache. Using GNU/Linux since 1995 will do that.

    Like I said before fix your apache config and DNS.



    --- MBSE BBS v1.0.1 (GNU/Linux-i386)
    * Origin: A noiseless patient Spider (110:110/2002@linuxnet)
  • From =?UTF-8?B?RnJhbsOnb2lzIFBhdHRl?=@110:110/2002 to All on Fri Dec 6 08:27:51 2013
    Le 05/12/2013 23:25, scrat a ‚crit :
    On Thu, 05 Dec 2013 21:10:04 +0100, Fran‡ois Patte wrote:

    Le 05/12/2013 19:54, unruh a ‚crit :
    On 2013-12-05, Fran?ois Patte <francois.patte@mi.parisdescartes.fr>
    wrote:
    Le 05/12/2013 00:15, Jorgen Grahn a ?crit :
    On Wed, 2013-12-04, Fran?ois Patte wrote:
    Le 04/12/2013 00:20, Pascal Hambourg a ?crit :
    Fran?ois Patte a ?crit :

    I am facing a problem that I don't understand: I try to help a >>>>>>>> friend to setup a web server on a mac.

    Then why post into a Linux newsgroup ?

    I did not find a "mac.networking group...

    macOSX is a freebsd based system...

    Then why post into a Linux newsgroup ?

    Sorry to have disturbed your list.... I hope you will recover soon.

    You ask for help in a group which has minimal knowledge of the system
    you want help for, and when asked you get snarky? I appologize for
    having replied to your post with an attempt to help.

    I did not replied using your answer but an answer where there were
    absolutely no attempt to help; just words... If people have nothing to
    say, why do they say something?

    Has this list such a traffic that my small mail had scewed up the
    bandwidth?

    mac system is closed to unix system and I thought that someone with some
    knowledge in *networwing* could have some idea about my problem (and you
    did); my question was about the strange behaviour of apache which
    answers on 127.0.0.1 and not on localhost...



    I know networking and apache. Using GNU/Linux since 1995 will do that.

    Like I said before fix your apache config and DNS.

    I can fix apache config, but I need some lights on how to fix DNS
    resolving: 127.0.0.1 <----> localhost

    --
    Fran‡ois Patte
    Universit‚ Paris Descartes

    --- MBSE BBS v1.0.1 (GNU/Linux-i386)
    * Origin: Service de news de lacave.net (110:110/2002@linuxnet)
  • From Richard Kettlewell@110:110/2002 to All on Fri Dec 6 08:46:07 2013
    Fran‡ois Patte <francois.patte@mi.parisdescartes.fr> writes:
    I can fix apache config, but I need some lights on how to fix DNS
    resolving: 127.0.0.1 <----> localhost

    There’s some unanswered questions still in other branches of this
    thread. You might want to take a look at those.

    --
    http://www.greenend.org.uk/rjk/

    --- MBSE BBS v1.0.1 (GNU/Linux-i386)
    * Origin: Anjou (110:110/2002@linuxnet)
  • From scrat@110:110/2002 to All on Fri Dec 6 22:10:02 2013
    On Fri, 06 Dec 2013 09:27:51 +0100, Fran‡ois Patte wrote:

    Le 05/12/2013 23:25, scrat a ‚crit :
    On Thu, 05 Dec 2013 21:10:04 +0100, Fran‡ois Patte wrote:

    Le 05/12/2013 19:54, unruh a ‚crit :
    On 2013-12-05, Fran?ois Patte <francois.patte@mi.parisdescartes.fr>
    wrote:
    Le 05/12/2013 00:15, Jorgen Grahn a ?crit :
    On Wed, 2013-12-04, Fran?ois Patte wrote:
    Le 04/12/2013 00:20, Pascal Hambourg a ?crit :
    Fran?ois Patte a ?crit :

    I am facing a problem that I don't understand: I try to help a >>>>>>>>> friend to setup a web server on a mac.

    Then why post into a Linux newsgroup ?

    I did not find a "mac.networking group...

    macOSX is a freebsd based system...

    Then why post into a Linux newsgroup ?

    Sorry to have disturbed your list.... I hope you will recover soon.

    You ask for help in a group which has minimal knowledge of the system
    you want help for, and when asked you get snarky? I appologize for
    having replied to your post with an attempt to help.

    I did not replied using your answer but an answer where there were
    absolutely no attempt to help; just words... If people have nothing to
    say, why do they say something?

    Has this list such a traffic that my small mail had scewed up the
    bandwidth?

    mac system is closed to unix system and I thought that someone with
    some knowledge in *networwing* could have some idea about my problem
    (and you did); my question was about the strange behaviour of apache
    which answers on 127.0.0.1 and not on localhost...



    I know networking and apache. Using GNU/Linux since 1995 will do that.

    Like I said before fix your apache config and DNS.

    I can fix apache config, but I need some lights on how to fix DNS
    resolving: 127.0.0.1 <----> localhost

    Then DNS is working as it should ( for now ).

    Have a look at httpd.conf







    --- MBSE BBS v1.0.1 (GNU/Linux-i386)
    * Origin: A noiseless patient Spider (110:110/2002@linuxnet)
  • From unruh@1:0/0 to All on Sat Dec 7 00:12:41 2013
    On 2013-12-06, scrat <scrat@invalid.com> wrote:
    On Fri, 06 Dec 2013 09:27:51 +0100, Fran??ois Patte wrote:

    Le 05/12/2013 23:25, scrat a ??crit :
    On Thu, 05 Dec 2013 21:10:04 +0100, Fran??ois Patte wrote:

    Le 05/12/2013 19:54, unruh a ??crit :
    On 2013-12-05, Fran?ois Patte <francois.patte@mi.parisdescartes.fr>
    wrote:
    Le 05/12/2013 00:15, Jorgen Grahn a ?crit :
    On Wed, 2013-12-04, Fran?ois Patte wrote:
    Le 04/12/2013 00:20, Pascal Hambourg a ?crit :
    Fran?ois Patte a ?crit :

    I am facing a problem that I don't understand: I try to help a >>>>>>>>>> friend to setup a web server on a mac.

    Then why post into a Linux newsgroup ?

    I did not find a "mac.networking group...

    macOSX is a freebsd based system...

    Then why post into a Linux newsgroup ?

    Sorry to have disturbed your list.... I hope you will recover soon. >>>>>
    You ask for help in a group which has minimal knowledge of the system >>>>> you want help for, and when asked you get snarky? I appologize for
    having replied to your post with an attempt to help.

    I did not replied using your answer but an answer where there were
    absolutely no attempt to help; just words... If people have nothing to >>>> say, why do they say something?

    Has this list such a traffic that my small mail had scewed up the
    bandwidth?

    mac system is closed to unix system and I thought that someone with
    some knowledge in *networwing* could have some idea about my problem
    (and you did); my question was about the strange behaviour of apache
    which answers on 127.0.0.1 and not on localhost...



    I know networking and apache. Using GNU/Linux since 1995 will do that.

    Like I said before fix your apache config and DNS.

    I can fix apache config, but I need some lights on how to fix DNS
    resolving: 127.0.0.1 <----> localhost

    Then DNS is working as it should ( for now ).

    I think he is saying that he has trouble getting localhost to resolv to 127.0.0.1, not that it is working. I suggested he look in
    /etc/nsswitch.conf but he either never read that part of my post or
    ignored it. I have no idea if that is what Mac OsX calls it either.



    Have a look at httpd.conf







    --- MBSE BBS v1.0.1 (GNU/Linux-i386)
    * Origin: The Kofo System II BBS telnet://fido2.kofobb
  • From scrat@110:110/2002 to All on Sat Dec 7 01:08:24 2013
    On Sat, 07 Dec 2013 00:12:41 +0000, unruh wrote:

    I can fix apache config, but I need some lights on how to fix DNS
    resolving: 127.0.0.1 <----> localhost

    Then DNS is working as it should ( for now ).

    I think he is saying that he has trouble getting localhost to resolv to 127.0.0.1, not that it is working. I suggested he look in
    /etc/nsswitch.conf but he either never read that part of my post or
    ignored it. I have no idea if that is what Mac OsX calls it either.


    Isn't Mac OsX based on *BSD?


    If what you say is indeed correct then his networking seems to be
    seriously broken.

    Why would you want apache to resolve to localhost or 127.0.0.1?


    --- MBSE BBS v1.0.1 (GNU/Linux-i386)
    * Origin: A noiseless patient Spider (110:110/2002@linuxnet)
  • From Pascal Hambourg@110:110/2002 to All on Sat Dec 7 08:19:57 2013
    Reply-To: pascal.news@plouf.fr.eu.org

    scrat a ‚crit :

    Why would you want apache to resolve to localhost or 127.0.0.1?

    The OP just wants the local resolver to resolve localhost into
    127.0.0.1, which sounds legitimate to me. But as Richard said, too many questions have been left unanswered by the OP so far.

    --- MBSE BBS v1.0.1 (GNU/Linux-i386)
    * Origin: Plouf ! (110:110/2002@linuxnet)
  • From Andrew Gideon@110:110/2002 to All on Mon Dec 9 19:55:03 2013
    On Wed, 04 Dec 2013 10:43:33 +0100, Fran‡ois Patte wrote:

    $ telnet localhost http

    connection refused

    Any chance it is trying to connect to ::1 instead of 127.0.0.1 when you
    use the name "localhost"? On my machine, at least telnet will try ::1
    before 127.0.0.1 even though the /etc/hosts file has the IPv4 localhost
    first.

    It's Linux, though, so OSX behavior may differ.

    - Andrew

    --- MBSE BBS v1.0.1 (GNU/Linux-i386)
    * Origin: UsenetServer - www.usenetserver.com (110:110/2002@linuxnet)