1. Appendices (Obsolete)

  1. Apache configuration on QNAP
    1. Older QNAP models - Qmultimedia folder
    2. Newer QNAP models - Multimedia folder

Appendix A: Configuration of Apache HTTP server on QNAP NAS

Older QNAP models - Qmultimedia folder

The QNAP NAS devices come with the  Apache HTTP server pre-installed which is suitable for use with KinskyJukebox. However this requires manual reconfiguration to map access to the Qmultimedia (audio files) folder and permit folder browsing. If your QNAP device does not have a Qmultimedia folder, please see Newer QNAP models - Multimedia folder.

  1. Enable telnet access to the QNAP
    • In QNAP settings select Network Services -> Remote Login
    • Check the box beside Allow Telnet Connection
    • Press Apply

  1. Open a Windows command prompt
    • XP: Start->Run, type cmd and press Enter
    • Vista/Win?7: type cmd in Search box and press Enter
  2. Telnet into QNAP NAS
    • At command prompt type telnet <NAS IP> 13131 and press Enter
    • Enter NAS user name and password when requested (admin/admin by default)
  3. Create link from multimedia folder to web folder
    • Enter the following commands at the telnet prompt
      • cd /share/Qweb and press Enter
      • ln -s /share/Qmultimedia multimedia and press Enter
      • If your QNAP device does not have a Qmultimedia folder (or a Qweb folder), please see Newer QNAP models - Multimedia folder.
  4. Check link setup
    • Type ls -l at telnet prompt
    • Check for entry containing multimedia -> /share/Qmultimedia

  1. Exit telnet
    • Type exit at telnet prompt
  2. Install WinSCP to facilitate update to Apache configuration file
  3. Connect to NAS using WinSCP
    • Open WinSCP
    • Enter <nas ip> address for Host name
    • Enter admin for User name
    • Enter <password> (default admin) for Password
    • Select SFTP for File protocol
    • Press Login
  4. Navigate to Apache configuration using WinSCP
    • Browse to /mnt/HDA_ROOT/apache/conf

  1. Edit apache.conf by right-clicking on icon and selecting Edit
  2. Update configuration file
    • Add the word Indexes in the Options section of <Directory "/share/Qweb">

  1. Save the updated file
  2. Disable and re-enable QNAP web server
    • Uncheck Enable Web Server in Network Services -> Web Server and press Apply
    • Wait 10 seconds
    • Check Enable Web Server in Network Services -> Web Server and press Apply

  1. Check setup
    • Use web browser
    • Navigate to  http://<nas ip>/multimedia
    • Should see list of folders in your music collection

NOTE that after the server is enabled, the QNAP web interface will be available at http://<qnap-ip-address>:8080

Newer QNAP models - Multimedia folder

The QNAP NAS devices come with the  Apache HTTP server pre-installed which is suitable for use with KinskyJukebox. However this requires manual reconfiguration to map access to the Multimedia (audio files) folder and permit folder browsing. If your QNAP device does not have a Multimedia folder, please see Older QNAP models - Qmultimedia folder.

  1. Enable telnet access to the QNAP
    • In QNAP settings select Network Services -> Telnet/SSH
    • Check the box beside Allow Telnet Connection
    • Press Apply

  1. Open a Windows command prompt
    • XP: Start->Run, type cmd and press Enter
    • Vista/Win?7: type cmd in Search box and press Enter
  2. Telnet into QNAP NAS
    • At command prompt type telnet <NAS IP> 13131 and press Enter
    • Enter NAS user name and password when requested (admin/admin by default)
  3. Create link from multimedia folder to web folder
    • Enter the following commands at the telnet prompt
  4. Check link setup
    • Type ls -l at telnet prompt
    • Check for entry containing multimedia -> /share/Multimedia

  1. Exit telnet
    • Type exit at telnet prompt
  2. Install WinSCP to facilitate update to Apache configuration file
  3. Connect to NAS using WinSCP
    • Open WinSCP
    • Enter <nas ip> address for Host name
    • Enter 22 for Port number
    • Enter admin for User name
    • Enter <password> (default admin) for Password
    • Select SFTP for File protocol
    • Press Login
    • Click past any warning screens to allow connection
  4. Navigate to Apache configuration using WinSCP
    • Browse to /mnt/HDA_ROOT/.config/apache

  1. Edit apache.conf by right-clicking on icon and selecting Edit
  2. Update configuration file
    • Add the word Indexes in the Options section of <Directory "/share/Web">

  1. Save the updated file
  2. Disable and re-enable QNAP web server
    • Uncheck Enable Web Server in Network Services -> Web Server and press Apply
    • Wait 10 seconds
    • Check Enable Web Server in Network Services -> Web Server and press Apply

  1. Check setup
    • Use web browser
    • Navigate to  http://<nas ip>/multimedia
    • Should see list of folders in your music collection

NOTE that after the server is enabled, the QNAP web interface will be available at http://<qnap-ip-address>:8080