Article:
  Apache Web-Serving with Mac OS X: Part 1
Subject:   Cannot access username via the http://127.0.0.1/~username/
Date:   2002-01-23 04:20:15
From:   morbus
Response to: Cannot access username via the http://127.0.0.1/~username/

Not immediately. What error message do you get? Have you messed with your Apache configuration before? Have you deleted the Sites directory from within your User folder?
Full Threads Newest First

Showing messages 1 through 5 of 5.

  • Cannot access username via the http://127.0.0.1/~username/
    2002-01-30 07:16:27  agoraphone [View]

    I have the same problem. I get the default apache "this is working" page, but adding /~username/ to the end gives an error 404.

    The sites directory is there, with an index.html file in it. It hasn't been touched. The only thing I have touched with the whole configuration was copying httpdconf.bak over httpd.conf, since the server wouldn't start at all before I did that.

    Like busboy, I'm typing the username correctly. Any clues?
    • Morbus Iff photo Cannot access username via the http://127.0.0.1/~username/
      2002-01-31 14:30:46  Morbus Iff | O'Reilly Author [View]

      Unfortunately, I don't have any clues. You could send your httpd.conf to me at morbus@disobey.com, and I could take a look in there.

      I have gotten spurious reports here and there of an httpd.conf file that only contains a few scant lines. A "normal" Apple supplied httpd.conf file should have hundreds and hundreds of lines. How big is yours?
      • Cannot access username via the http://127.0.0.1/~username/
        2002-11-09 06:25:24  hanssolmssen [View]

        I have developed a similar problem. I get a 403 error in my http://127.0.0.1~username/ , but I can see the http://127.0.0.1/ site. I notice In Netinfo Manager the title of the window is local@127.0.0.1-/ (that has changed) and selecting machines then localhost or broadcasthost, the 3 items in the lower window ip_address, name and serves are grayed out. I can not select them. I did play with this after winstonford offered a way to see a site inside a airport network.
        • Cannot access username via the http://127.0.0.1/~username/
          2002-11-09 20:40:20  hanssolmssen [View]

          Sorry. Authenticate in Netinfo Manager solves my grayed out "problem"...
  • Cannot access username via the http://127.0.0.1/~username/
    2006-02-15 20:14:36  mocharl [View]

    Hello,

    I think I have this problem too. I remember deleting that Sites folder when I first got the computer, not realizing what it was (foolishly) and now I've recreated it but it still won't work.

    Any ideas??