Koozali.org: home of the SME Server

Netjuke, Symlink and httpd.conf

Offline Chrille

  • *
  • 45
  • +0/-0
Netjuke, Symlink and httpd.conf
« on: September 28, 2004, 11:34:57 PM »
Hi,

I have searched the forums and the Net for solutions for many hours but I havn't found a solution that I feel comfortable with.

Problem

I have installed Netjuke in home/e-smith/files/ibays/netjuke/html according to http://sme.swerts-knudsen.dk/index.html?frame=http%3A//sme.swerts-knudsen.dk/howtos/howto_19.htm

I did have som problems getting it running but now Netjuke finds all my files that I previously have stored in home/e-smith/files/ibays/mp3/music  I have that information in system prereferences in Netjuke.

I have created a symlink in home/e-smith/files/ibays/netjuke/html/var/music pointing to home/e-smith/files/ibays/mp3/music
I can browse with MC and the link works.

As I understand it I have to change in httpd.conf so that the symlink works, right?

This is some part of the information in httpd.conf file:

#------------------------------------------------------------
# netjuke ibay directories (Networked Jukebox)
#------------------------------------------------------------

<Directory /home/e-smith/files/ibays/netjuke/html>
    Options Indexes
    Options +Includes
    AllowOverride None
    order deny,allow
    deny from all
    allow from 127.0.0.1 192.168.0.0/255.255.255.0
</Directory>

<Directory /home/e-smith/files/ibays/netjuke/cgi-bin>
    Options ExecCGI
    AllowOverride None
    order deny,allow
    deny from all
    allow from 127.0.0.1 192.168.0.0/255.255.255.0
</Directory>

<Directory /home/e-smith/files/ibays/netjuke/files>
    AllowOverride None
    order deny,allow
    deny from all
    allow from 127.0.0.1 192.168.0.0/255.255.255.0
</Directory>

I have looked in
etc/e-smith/templates and tried to find a fragment that I could copy too template-custom and change it, but I can't find one that looks like the information above. I supose that I should type something like "FollowSymLinks" after options.

Can someone please help me out?

 :-D

Chrille