Page 14 of 17
Re: SamyGO Extensions [v0.03.6] for c-series
Posted: Wed Jan 26, 2011 12:09 am
by arris69
mianfrar wrote:
I've looked at the file and it looks nice, but I want to mount shares from 3 different machines with different passwords, so I will have to modify the script a little.

i think you can do this more simple with 04_04_fusesmb.init
fusesmb has support for different shares with different passwords.
hth
arris
Re: SamyGO Extensions [v0.03.6] for c-series
Posted: Sun Jan 30, 2011 11:17 pm
by lacibogi
hi,
I have tried the latest SamyGO extension, I am interested in apache in tv.
it creates /dtv/www folder but when I copy there some automated scripts for netplayer while tv restart they are deleted.
any solution please? they need to be copied somewhere in SamyGO folder in usb pen?
thx
rgds
Re: SamyGO Extensions [v0.03.6] for c-series
Posted: Mon Jan 31, 2011 7:53 am
by arris69
lacibogi wrote:hi,
I have tried the latest SamyGO extension, I am interested in apache in tv.
it creates /dtv/www folder but when I copy there some automated scripts for netplayer while tv restart they are deleted.
any solution please? they need to be copied somewhere in SamyGO folder in usb pen?
thx
rgds
look into SamyGO/etc/init.d/06_05_apache.init and set the variable WEBROOT
or create a configuration file for a virtual server/alias in SamyGO/etc/apache2/modules.d/ , it will be automaticaly included (for documentation of the syntax see the apache website)
hth
arris
Re: SamyGO Extensions [v0.03.6] for c-series
Posted: Mon Jan 31, 2011 10:00 am
by lacibogi
hi arris,
I have changed WEBROOT to /dtv/usb/sda1/www (could it be on usb pen?), but does not work.
pls, could you be more concrete how to set up variable webroot?
thanks
Re: SamyGO Extensions [v0.03.6] for c-series
Posted: Mon Jan 31, 2011 2:57 pm
by arris69
lacibogi wrote:hi arris,
I have changed WEBROOT to /dtv/usb/sda1/www (could it be on usb pen?), but does not work.
what does not work? how you tested it, what you tested, what do you expect what should happen????
i love statements "like does not work", it's very informative
pls, could you be more concrete how to set up variable webroot?
open the file in an editor (not notepad on windows!!) and edit the entry WEBROOT="whatever" to WEBROOT="whatawant"
thanks
hth
arris
Re: SamyGO Extensions [v0.03.6] for c-series
Posted: Mon Jan 31, 2011 3:18 pm
by lacibogi
arris, sorry for no explain what does not work.
with "does not work" I thought that i have changed WEBROOT to /dtv/usb/sda1/www and own scripts were deleted after TV reboot.
in this case <TV IP>index.php and also <TV IP>/phpsysinfo works fine but scripts are deleted after reboot.
will help if I will change WEBROOT to WEBROOT="/dtv/www/some new folder"
sorry for stupid questions
thanks.
Re: SamyGO Extensions [v0.03.6] for c-series
Posted: Mon Jan 31, 2011 9:40 pm
by arris69
lacibogi wrote:arris, sorry for no explain what does not work.
with "does not work" I thought that i have changed WEBROOT to /dtv/usb/sda1/www and own scripts were deleted after TV reboot.
in this case <TV IP>index.php and also <TV IP>/phpsysinfo works fine but scripts are deleted after reboot.
will help if I will change WEBROOT to WEBROOT="/dtv/www/some new folder"
sorry for stupid questions
thanks.
search for line
Code: Select all
echo '<? phpinfo(); ?>' > $WEBROOT/index.php
and delete it from 06_05_apache.init
and better not use spaces in folder names
so
should be ok
hth
arris
Re: SamyGO Extensions [v0.03.6] for c-series
Posted: Mon Jan 31, 2011 10:28 pm
by lacibogi
works fine with
but I have not deleted
Code: Select all
echo '<? phpinfo(); ?>' > $WEBROOT/index.php
is it really important?
Re: SamyGO Extensions [v0.03.6] for c-series
Posted: Mon Jan 31, 2011 10:33 pm
by arris69
lacibogi wrote:works fine with
but I have not deleted
Code: Select all
echo '<? phpinfo(); ?>' > $WEBROOT/index.php
is it really important?
if your webapp not start with index.php then not. but if you have an index.php in /dtv/usb/sda1/www/ it will be destroyed.
so for me it's not important but maybe for you.
arris
Re: SamyGO Extensions [v0.03.6] for c-series
Posted: Mon Jan 31, 2011 10:44 pm
by lacibogi
so no problem, my scripts are in additional folder.
arris, thanks for support.
