PDA

View Full Version : Web Sharing question.




jashsayani
Mar 29, 2009, 03:54 PM
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.



illegalprelude
Apr 3, 2009, 09:25 PM
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.

jashsayani
Apr 4, 2009, 04:49 AM
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.

I am trying to access the music folder via web sharing on another Mac on the WiFi network....

myjay610
Apr 7, 2009, 06:48 AM
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

jashsayani
Apr 10, 2009, 04:38 AM
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


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 ?