Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > Developer Center > Is there any easy way of getting a listing of my mp3s to the Personal Web Server?

Is there any easy way of getting a listing of my mp3s to the Personal Web Server?
Thread Tools
Junior Member
Join Date: Apr 1999
Status: Offline
Reply With Quote
Feb 19, 2003, 06:51 PM
 
Hello there:

This is probably a kinda dumb question but I was just wondering if there's any easy way of getting a listing of my mp3s to the Personal Web Server without physically copying/ moving them to my 'Sites' folder. Anyone? I've tried putting an alias of my 'Music' folder there (and even tried putting aliases of each mp3 there), with no success...

thank you!
     
Clinically Insane
Join Date: Nov 1999
Status: Offline
Reply With Quote
Feb 19, 2003, 10:12 PM
 
It can be done, but we need more information. What MP3 player are you using?
You are in Soviet Russia. It is dark. Grue is likely to be eaten by YOU!
     
mfiske  (op)
Junior Member
Join Date: Apr 1999
Status: Offline
Reply With Quote
Feb 20, 2003, 05:23 AM
 
iTunes. Thanks for helping!
     
Dedicated MacNNer
Join Date: May 2002
Location: UK
Status: Offline
Reply With Quote
Feb 20, 2003, 05:36 AM
 
Hi there,

You should be able to do this by adding a few lines to your httpd.conf file. To do this you'll need to issue a few terminal commands:

Open a new terminal & type

<pre>cd /etc/httpd/
sudo cp httpd.conf httpd.conf.before_music
sudo pico /etc/httpd/httpd.conf</pre>

Type your password when asked

Use Ctrl-Y to page to the line that reads <pre>&lt;Directory "/Library/WebServer/Documents"&gt;</pre>
after the following <pre>&lt;/Directory&gt;</pre> line, insert the following, replacing 'mrwalker' with your OS X short username:

<pre>
Alias /music "/Users/mrwalker/Music/"

&lt;Directory "/Users/mrwalker/Music/"&gt;
Options Indexes MultiViews
AllowOverride all
Order allow,deny
Allow from all
&lt;/Directory&gt;
</pre>
Then save the file with Ctrl-O, Enter. Exit the pico editor with Ctrl-X.

Finally, restart apache with <pre>sudo apachectl restart</pre>

Your music should be accesible at http://127.0.0.1/music

-mrwalker
(Last edited by mrwalker; Feb 20, 2003 at 06:09 AM. )
     
Mac Elite
Join Date: Oct 2001
Status: Offline
Reply With Quote
Feb 20, 2003, 07:02 AM
 
Originally posted by mrwalker:
Hi there,

You should be able to do this by adding a few lines to your httpd.conf file. To do this you'll need to issue a few terminal commands:

Open a new terminal & type

<pre>cd /etc/httpd/
sudo cp httpd.conf httpd.conf.before_music
sudo pico /etc/httpd/httpd.conf</pre>

Type your password when asked

Use Ctrl-Y to page to the line that reads <pre>&lt;Directory "/Library/WebServer/Documents"&gt;</pre>
after the following <pre>&lt;/Directory&gt;</pre> line, insert the following, replacing 'mrwalker' with your OS X short username:

<pre>
Alias /music "/Users/mrwalker/Music/"

&lt;Directory "/Users/mrwalker/Music/"&gt;
Options Indexes MultiViews
AllowOverride all
Order allow,deny
Allow from all
&lt;/Directory&gt;
</pre>
Then save the file with Ctrl-O, Enter. Exit the pico editor with Ctrl-X.

Finally, restart apache with <pre>sudo apachectl restart</pre>

Your music should be accesible at http://127.0.0.1/music

-mrwalker
very helpful!
     
   
Thread Tools
Forum Links
Forum Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Top
Privacy Policy
All times are GMT -5. The time now is 08:48 PM.
All contents of these forums © 1995-2011 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.7 © 2000-2011, Jelsoft Enterprises Ltd., Content Relevant URLs by vBSEO 3.3.2