Web Sharing - Gone

Discussion in 'OS X Mountain Lion (10.8)' started by garybUK, Jul 3, 2012.

  1. garybUK Guest

    garybUK

    Joined:
    Jun 3, 2002
    #1
    I've done a search but couldn't find anything, seem's like Apple have completely removed web sharing from OS X.8, the preference pane has gone and in the home folder there's no 'Sites' folder.

    If you create a folder called 'Sites' it retains the 'compass' logo in the folder, apache can be started manually by typing in `sudo apachectl -k start`

    You will also need to create a file by doing the following (in terminal):

    sudo vi /private/etc/apache2/users/$USER.conf
    and paste the following in:
    by pressing esc-i
    [CHANGE gary to your mac short name, usually]

    <Directory "/Users/gary/Sites/">
    Options Indexes MultiViews
    AllowOverride None
    Order allow,deny
    Allow from all
    </Directory>

    then save and quit: esc-wq return

    then sudo apacectl -k restart.

    should be back and up and running.
     
  2. kniemann macrumors newbie

    Joined:
    Feb 10, 2012
    #2
    They probably want you using Mountain Lion Server for that.
     
  3. basher macrumors 6502

    basher

    Joined:
    May 27, 2011
    Location:
    Glendale, AZ USA
  4. mabaker macrumors 65816

    mabaker

    Joined:
    Jan 19, 2008
    #4
  5. basher macrumors 6502

    basher

    Joined:
    May 27, 2011
    Location:
    Glendale, AZ USA
    #5
    Yeah, I've read about re-enabling Apache. Not too big a task, but I wonder if in the next O/S after ML Apple will remove Apache. Guess time will tell.

     

Share This Page