Minidlna - Webinterface (rev15a)
is a basic Webinterface for minidlna-Servers
MiniDLNA-Project: https://sourceforge.net/projects/minidlna/ (now named ReadyMedia)
To configure the Webinterface just edit the file:
/inc/config.inc.php
--beginn--
$path_to_db = "{absolute path to your minidlna-files.db}"
$debug_sqls = true or false (without ") .. if you want to show the SQL-Queries done in background
$fdownload = true or false (without ") .. if you want to enable download of single-files
$jdownload = true or false (without ") .. if you want to enable the DLC/CCF/RSDF-Generator for bulk-download
--end--
The following is needed:
1. Apache-Webserver (or similar)
2. PHP5
3. PHP-SQLITE3 (not PHP-SQLITE!) because minidlna-db is in Sqlite3-Format
4. Javascript enabled Website
PHP open_basedir
If you want to access your local minidlna-database located outside the document root of your apache2 webserver you have to set the open_basedir.
php.ini
Set the "open_basedir=/var/lib/minidlna" in you php.ini (/var/lib/minidlna is where the minidlna-db is located) and restart the apache2 server
.htaccess
If you dont have access to the php.ini, and you are ALLOWED to change php-settings via .htaccess file, then create in your minidlna-webdirectory (accessable over the web) a file called
".htaccess" ( the point a the beginning is no fail!!!)
try one of those lines:
php_admin_value open_basedir /var/lib/minidlna
or
php_value open_basedir /var/lib/minidlna
This may help