Synology-Forum.nl
Tweaks / Addons A.K.A. The Underground => Algemeen => Topic gestart door: Björn op 27 september 2007, 13:53:18
-
Om een andere share dan de web share te kunnen gebruiken via een website moet je de volgende aanpassingen doen via telnet:
1. edit /usr/syno/etc/php.ini :
find the line :
openbase_dir= :/volume1/web:/volume2/web:/volume3/web:/volume4/web
and add after "web" : (be careful about the ':' don't forget it)
Voor de video share:
:/volume1/video:/volume2/video:/volume3/video:/volume4/video
Voor de music share
:/volume1/music:/volume2/music:/volume3/music:/volume4/music
Note : if you only have volume1 (depending on your hardware) then just add :/volume1/video or :/volume1/music
2. edit /usr/syno/apache/conf/httpd.conf-user
At the very end of the file add this :
Voor video:
Code:
<IfModule mod_alias.c>
Alias /video "/volume1/video"
<Directory "/volume1/video">
Options Indexes -Multiviews -FollowSymlinks
</Directory>
</IfModule>
Voor music
Code:
<IfModule mod_alias.c>
Alias /music "/volume1/music"
<Directory "/volume1/music">
Options Indexes -Multiviews -FollowSymlinks
</Directory>
</IfModule>
3. put a php indexer in your video folder
You can find one here (http://0zz.org/), it's the one i use and it's just perfect. (index0r)
4. reboot de DS
5. test it !
It should be OK ! Point your browser to http://yourIP/video (http://yourIP/video)
Je kunt nu ook bijvoorbeeld flamplayer installeren. Hier (http://www.flamplayer.com)te downloaden.
Succes!
Zie ook http://www.synology.com/enu/forum/viewtopic.php?t=3274 (http://www.synology.com/enu/forum/viewtopic.php?t=3274)