Manage and play your home videos in any browser
A bunch of utilities for:
Full Install on Linux(arch/apache)
Full Install on Linux(arch/nginx)
Copy all files to your server folder and edit:
config.php
: basic configuration, read comments and edit neededconfig.ws.php
: only if want to add more web searchs for media (examples provided)If needed add vhost file to apache and include or edit main host conf.
Example vhost:
<Directory /path/to/server/>
Options FollowSymlinks
AllowOverride all
Require all granted
#Edit Paths
php_admin_value open_basedir "/path/to/server/:/path/to/downloads"
#block all except my IP
#Order deny,allow
#Deny from all
#Allow from MYIP
#all
Allow from all
DirectoryIndex index.php
</Directory>
NameVirtualHost *:80
<VirtualHost *:80>
ServerName YOURDOMAIN
#COMMENT IF DLNA SERVER or calls changed to https or only use domainname
Redirect permanent / https://YOURDOMAIN
</VirtualHost>
<VirtualHost *:443>
ServerName YOURDOMAIN
ServerAdmin [email protected]
DocumentRoot /path/to/server
ServerName YOURDOMAIN
ErrorLog /var/log/httpd/YOURLOGNAME
CustomLog /var/log/httpd/YOURLOGNAME common
<IfModule mod_headers.c>
Header always set Strict-Transport-Security "max-age=15768000; includeSubDomains; preload"
</IfModule>
</VirtualHost>
If needed add paths to php.ini (needed access to download folder):
open_basedir = ...:/path/to/server/:/path/to/downloads
Needed extension in php:
extension=curl.so
extension=iconv.so
extension=pdo_sqlite.so
extension=sqlite3.so
extension=sockets.so
extension=xmlrpc.so
extension=zip.so
#for dlna server
extension=soap.so
Restart apache, and login with default user/pass.
Adding https://www.phpliteadmin.org/ file to base folder add a menu entry to access sqlite DB file (need to configure db file and user in phpliteadmin file).