Questions about Personal Web Sharing

Discussion in 'iMac' started by BBS, Aug 27, 2008.

  1. BBS macrumors newbie

    Joined:
    May 31, 2008
    #1
    Hello,

    I would like to use Personal Web Sharing but I want it private. Is there any way to do that? And is there also any way to change the name?

    http://123.456.7.8/~changethisname?

    If I can't make it private, are there any other options out there?

    Thanks a lot in advance! :)
     
  2. Hrududu macrumors 68020

    Hrududu

    Joined:
    Jul 25, 2008
    Location:
    Wichita KS
    #2
    Mac OS 8.5-9.2.2 web sharing or OS X web sharing?
     
  3. BBS thread starter macrumors newbie

    Joined:
    May 31, 2008
    #3
    OS X web sharing. :)
     
  4. TheReef macrumors 68000

    TheReef

    Joined:
    Sep 30, 2007
    Location:
    NSW, Australia.
    #4
    You could use htaccess

    >create a new file named ".htaccess" in the directory you wish to hide. (Note this file becomes invisible as it is preceded by a full-stop, you'll need TinkerTool to display hidden system files).

    >In this file type

    Code:
    Order Deny, Allow
    
    Deny from all
    
    Allow from localhost
    
    What this should do is only let the hosting computer access the directory.


    EDIT: You'll need to activate htaccess, see here. (Sorry if my suggestion turned out to be too complicated).

    EDIT2: The name of the server may be changed in the "Sharing" pane of System Preferences.
     

Share This Page