[image: network-cables]
I wan't to access the music files on the machine running inAudio from a
remote machine using my web-server. What do I need to do?


Click to read on...

<-- Back to the F.A.Q mainpage

To use a webserver (or ftp-server) to access the files indexed by inAudio you need to setup a few replacement rules.
You also need to setup your ftp-server or web-server so that its sharing your music-files.
A webserver is recommended since both Winamp (under Windows) and XMMS (under linux) can
stream music directly from a webserver.
If you are using Internet Information Server (or personal webserver) you do this by adding a
virtual directory.
Other webservers have other ways to do this (for example on linux and apache you can setup a
link from a directory in your www-root-directory pointing to the directory containing your music
using the ln-command (type ln --help in a console for more info))
To set up a virtual directory for Internet Information Server, open the Internet Services Manager
that you can find under Windows Controlpanel -> System Tools.



Add a new virtual directory by right-clicking on "default website" or the name your site might have.
Select New -> Virtual Directory.
Select a name for your virtual directory (for example music) and then select the location of the
directory you wan't to share using your webserver.
Once you have a share successfully set up you need to add a few "replacement rules" for inaudio.

You can find the settings for replacement rules under "Replacements" in the inAudio Control Panel.
If there are any rules already present, remove them. (there are a few disabled rules included with
the installation to show how it's set up). Now you should see this screen:



Click on the "Add" button to add a new replacement-rule.
Your first replacement rules should look somethings like this:



Replace "d:\music\" with the location of your indexing location.
Replace http://www.myserver.com/music/ with the name of your webserver and the name of the
share on your webserver sharing your musicfiles.

The second rule is simpler.
Just replace "\" with "/" (without the quotes).

And finally a third rule is to replace a space " " (type in a real space, not " ") with "%20"
(once again without the quotes).

Re-index and you should be all set.
Remember that all replacement-rules are case-sensitive as well as
executed in the order you set them.
Your replacement-rules are not saved until you click the "Save Changes"-button and they are not
executed on the site until you re- index your index.


<-- Back to the F.A.Q mainpage


  Copyright (c) 2001-2010, Octagon Development Group and Anders Gardebring