Web Sharing question.

Discussion in 'Mac OS X Server, Xserve, and Networking' started by jashsayani, Mar 29, 2009.

  1. jashsayani macrumors regular

    jashsayani

    Joined:
    Feb 7, 2009
    Location:
    San Jose, CA
    #1
    I have Web Sharing enabled on my Mac mini. Now, I want to be able to access my Music folder (/Users/Jash/Music) using Web sharing (/localhost/Music). How do I do this ??

    Creating an alias did not work...


    Do I have to add the additional folder in httpd.conf ? If so, what do I have to add and where?

    Thanks.
     
  2. illegalprelude macrumors 68000

    illegalprelude

    Joined:
    Mar 10, 2005
    Location:
    Los Angeles, California
    #2
    im a little confused on what your trying to accomplish. Are you just trying to access the music of your iTunes on another computer? Or are you trying to access it when you are not home.
     
  3. jashsayani thread starter macrumors regular

    jashsayani

    Joined:
    Feb 7, 2009
    Location:
    San Jose, CA
    #3
    I am trying to access the music folder via web sharing on another Mac on the WiFi network....
     
  4. myjay610 macrumors regular

    Joined:
    Jan 6, 2008
    #4
    You'll either have to:
    1) Move all of your music into the current folder that Apache (web server) is looking for files in (probably not best option)

    or

    2) Change the web root
    open 'terminal' application
    type 'cd /etc/apache2'
    type 'ls'
    edit the httpd.conf file
    find the line that starts with 'DocumentRoot'
    and change the absolute path to the music folder
    now you should be able to do http://localhost or http://IPaddress or http://computername.local and it will show up.

    Make sure to restart web sharing in system prefs
     
  5. jashsayani thread starter macrumors regular

    jashsayani

    Joined:
    Feb 7, 2009
    Location:
    San Jose, CA
    #5

    Hi,

    I don't think I can completely change the location to Music folder as I have other sites on the computer.

    I think, it would be best to Create an alias. How do I do this ??

    Do I need to enable alias in apache ?
     

Share This Page