Women in Technology

Hear us Roar



Article:
  Apache Web-Serving with Mac OS X: Part 1
Subject:   127.0.0.1 works and localhost doesn't
Date:   2003-03-11 23:56:08
From:   anonymous2
hi -


when i try http://localhost/, i get popup 'The attempt to load 'Accessing URL:http://localhost/' failed. i checked netinfo manager and machine->localhost ip is set to 127.0.0.1. is there something else i need to set up? thanx for any suggestions. cheers, sf

Main Topics Oldest First

Showing messages 1 through 1 of 1.

  • 127.0.0.1 works and localhost doesn't
    2003-04-02 04:11:39  anonymous2 [View]

    type in:

    http://localhost/~[username]/

    of course, replacing the [username] with yours!

    as well, if you have a html file called index.html put into your Sites folder, this will be what comes up when you go to your root localhost directory as written above, otherwise a directory listing of your folders and files in Sites will show up in your browser