This is the old XigmaNAS forum in read only mode,
it will taken offline by the end of march 2021!



I like to aks Users and Admins to rewrite/take over important post from here into the new fresh main forum!
Its not possible for us to export from here and import it to the main forum!

[req] for support of add more webserver in services|Webserve

Post/Debate your Suggestions & Requests of XigmaNAS here. This ONLY pertains to XigmaNAS.
Forum rules
Set-Up GuideFAQsForum Rules
Post Reply
User avatar
raulfg3
Site Admin
Site Admin
Posts: 4865
Joined: 22 Jun 2012 22:13
Location: Madrid (ESPAÑA)
Contact:
Status: Offline

[req] for support of add more webserver in services|Webserve

Post by raulfg3 »

Can be very usefull, ability to add more web pages in Services | Webserver, so you can configure more webservices, actually only one is easy to configure.

eg: if you confog webserver in port 81 for onwcloud, and you want to add COPS for example is not easy / intuitive how to do.
12.1.0.4 - Ingva (revision 7743) on SUPERMICRO X8SIL-F 8GB of ECC RAM, 11x3TB disk in 1 vdev = Vpool = 32TB Raw size , so 29TB usable size (I Have other NAS as Backup)

Wiki
Last changes

HP T510

User avatar
alexey123
Moderator
Moderator
Posts: 1469
Joined: 19 Aug 2012 08:22
Location: Israel, Karmiel
Contact:
Status: Offline

Re: [req] for support of add more webserver in services|Webs

Post by alexey123 »

What is problem to create index.php page into your document root with simple menu?
And owncloud another CMS place into your document folder?
For example your document folder have path

Code: Select all

/mnt/data/www
You create folder owncloud, anothercms1, anothercms2 into as

Code: Select all

/mnt/data/www/owncloud
/mnt/data/www/anothercms1
/mnt/data/www/anothercms2
And page for menu

Code: Select all

/mnt/data/www/index.php
I add example for you
Must be such picture
Image
You do not have the required permissions to view the files attached to this post.
Home12.1.0.4 - Ingva (revision 7091)/ x64-embedded on AMD A8-7600 Radeon R7 A88XM-PLUS/ 16G RAM / UPS Ippon Back Power Pro 600
Lab 12.1.0.4 - Ingva (revision 7091) /x64-embedded on Intel(R) Core(TM) i3-3220 CPU @ 3.30GHz / H61M-DS2 / 4G RAM / UPS Ippon Back Power Pro 600

User avatar
raulfg3
Site Admin
Site Admin
Posts: 4865
Joined: 22 Jun 2012 22:13
Location: Madrid (ESPAÑA)
Contact:
Status: Offline

Re: [req] for support of add more webserver in services|Webs

Post by raulfg3 »

thanks I'll try your aproach, but I need to enter in the CMS using other port, not using other path:

example:

I need user.dyndns.org:81 to enter in /mnt/data/www/owncloud
user.dyndns.org:82 to enter in /mnt/data/www/anothercms1 etc...

with your aproach ( thanks other time) , I allways enter in user.dyndns.org:81 and next I need to select CMS1 or enter directly to user.dyndns.org:81/anothercms1 but is not was I want ( ok is enought for home use), but I think that add a plus (+) in the services |Webserver to add more instances is better or easy for users that are not programmers.

PD: I'm waiting that your jail webGUI aproach finish, is good to see improvements in Nas4Free WebGUI like a easy and noob design jail admin.
12.1.0.4 - Ingva (revision 7743) on SUPERMICRO X8SIL-F 8GB of ECC RAM, 11x3TB disk in 1 vdev = Vpool = 32TB Raw size , so 29TB usable size (I Have other NAS as Backup)

Wiki
Last changes

HP T510

User avatar
alexey123
Moderator
Moderator
Posts: 1469
Joined: 19 Aug 2012 08:22
Location: Israel, Karmiel
Contact:
Status: Offline

Re: [req] for support of add more webserver in services|Webs

Post by alexey123 »

raulfg3 wrote:thanks I'll try your aproach, but I need to enter in the CMS using other port, not using other path:

example:

I need user.dyndns.org:81 to enter in /mnt/data/www/owncloud
user.dyndns.org:82 to enter in /mnt/data/www/anothercms1 etc...
Mmmmm even easier.
You must create file, for example ownclod.conf, and put it into any place. When you create it, you copy content from /var/etc/websrv.conf and put to /any/place/owncloud.conf, just change port.
Then you go to System|Advanced|Command scripts and create postinit script

Code: Select all

/usr/local/sbin/lighttpd start -f /any/place/owncloud.conf
PD: I'm waiting that your jail webGUI aproach finish, is good to see improvements in Nas4Free WebGUI like a easy and noob design jail admin.
We try to make tool for nas4free to manage jails - install, uninstall. diagnostic. Inside jail if you want any tool - use webmin.
Home12.1.0.4 - Ingva (revision 7091)/ x64-embedded on AMD A8-7600 Radeon R7 A88XM-PLUS/ 16G RAM / UPS Ippon Back Power Pro 600
Lab 12.1.0.4 - Ingva (revision 7091) /x64-embedded on Intel(R) Core(TM) i3-3220 CPU @ 3.30GHz / H61M-DS2 / 4G RAM / UPS Ippon Back Power Pro 600

User avatar
raulfg3
Site Admin
Site Admin
Posts: 4865
Joined: 22 Jun 2012 22:13
Location: Madrid (ESPAÑA)
Contact:
Status: Offline

Re: [req] for support of add more webserver in services|Webs

Post by raulfg3 »

Thanks.

-f is in wrong place:

Code: Select all

rnas:~# /usr/local/sbin/lighttpd start -f /var/etc/cops.conf
2013-02-17 09:54:11: (server.c.614) No configuration available. Try using -f option.
rnas:~# /usr/local/sbin/lighttpd -f start /var/etc/cops.conf
2013-02-17 09:54:45: (configfile.c.989) opening configfile  start failed: No such file or directory
rnas:~#
actually do not work:No such file or directory. but really exist.

Code: Select all

rnas:~# cd /var/etc
rnas:/var/etc# ls -l
total 100
-rw-r--r--  1 root  wheel     0 Feb 14 20:53 autosnapshot.conf
-rw-r--r--  1 root  wheel  3475 Feb 17 09:50 cops.conf
-rw-r--r--  1 root  wheel   273 Feb 14 20:53 crontab
-rw-r--r--  1 root  wheel     0 Feb 14 20:53 exports
12.1.0.4 - Ingva (revision 7743) on SUPERMICRO X8SIL-F 8GB of ECC RAM, 11x3TB disk in 1 vdev = Vpool = 32TB Raw size , so 29TB usable size (I Have other NAS as Backup)

Wiki
Last changes

HP T510

User avatar
alexey123
Moderator
Moderator
Posts: 1469
Joined: 19 Aug 2012 08:22
Location: Israel, Karmiel
Contact:
Status: Offline

Re: [req] for support of add more webserver in services|Webs

Post by alexey123 »

Sorry, I write wrong command. Need be flags before "start" as:

Code: Select all

/usr/local/sbin/lighttpd -f /mnt/data/raul.conf start
As for me - work
Home12.1.0.4 - Ingva (revision 7091)/ x64-embedded on AMD A8-7600 Radeon R7 A88XM-PLUS/ 16G RAM / UPS Ippon Back Power Pro 600
Lab 12.1.0.4 - Ingva (revision 7091) /x64-embedded on Intel(R) Core(TM) i3-3220 CPU @ 3.30GHz / H61M-DS2 / 4G RAM / UPS Ippon Back Power Pro 600

User avatar
raulfg3
Site Admin
Site Admin
Posts: 4865
Joined: 22 Jun 2012 22:13
Location: Madrid (ESPAÑA)
Contact:
Status: Offline

Re: [req] for support of add more webserver in services|Webs

Post by raulfg3 »

Thanks , now works as expected:

Code: Select all

Welcome to NAS4Free!
rnas:~# /usr/local/sbin/lighttpd -f /var/etc/cops.conf start
rnas:~#
12.1.0.4 - Ingva (revision 7743) on SUPERMICRO X8SIL-F 8GB of ECC RAM, 11x3TB disk in 1 vdev = Vpool = 32TB Raw size , so 29TB usable size (I Have other NAS as Backup)

Wiki
Last changes

HP T510

User avatar
alexey123
Moderator
Moderator
Posts: 1469
Joined: 19 Aug 2012 08:22
Location: Israel, Karmiel
Contact:
Status: Offline

Re: [req] for support of add more webserver in services|Webs

Post by alexey123 »

raulfg3 wrote:Thanks , now works as expected:
In new server you can add modules without any problem and use manuals from main site http://redmine.lighttpd.net/projects/lighttpd/wiki
Available modules you can find into /usr/local/lib/lighttpd
Home12.1.0.4 - Ingva (revision 7091)/ x64-embedded on AMD A8-7600 Radeon R7 A88XM-PLUS/ 16G RAM / UPS Ippon Back Power Pro 600
Lab 12.1.0.4 - Ingva (revision 7091) /x64-embedded on Intel(R) Core(TM) i3-3220 CPU @ 3.30GHz / H61M-DS2 / 4G RAM / UPS Ippon Back Power Pro 600

Post Reply

Return to “Suggestions & Requests”