mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-09-01 01:41:23 +02:00
- yweb: re-introduce 'WebsiteMain.hosted_directory'
* this directory can be used to host some of your cracy stuff. yhtm, yjs and ysh will also parsed now. it is reachable with <boxip>/hosted/ * if exist a subdir named 'logos' in this directory you can use this as an external logo-dir for yweb too * path can be configured with '--with-hosted_httpddir=PATH'
This commit is contained in:
@@ -53,7 +53,7 @@ start-block~nhttpd_save_settings
|
||||
{=ini-set:/var/tuxbox/config/nhttpd.conf;WebsiteMain.port;{=port=}~cache=}
|
||||
{=ini-set:/var/tuxbox/config/nhttpd.conf;webserver.threading;{=threading=}~cache=}
|
||||
{=ini-set:/var/tuxbox/config/nhttpd.conf;server.no_keep-alive_ips;{=no_keep_alive_ips=}~cache=}
|
||||
{=ini-set:/var/tuxbox/config/nhttpd.conf;WebsiteMain.hosted_directory;{=HostedDocRoot=}~cache=}
|
||||
{=ini-set:/var/tuxbox/config/nhttpd.conf;WebsiteMain.hosted_directory;{=hosted_directory=}~cache=}
|
||||
{=ini-set:/var/tuxbox/config/nhttpd.conf;WebsiteMain.override_directory;{=override_directory=}~cache=}
|
||||
{=ini-set:/var/tuxbox/config/nhttpd.conf;mod_sendfile.mime_types;{=mod_sendfile_mime_types=}~cache=}
|
||||
{=ini-set:/var/tuxbox/config/nhttpd.conf;mod_sendfile.sendAll;{=mod_sendfile_sendAll=}~cache=}
|
||||
|
@@ -62,7 +62,7 @@ function do_submit()
|
||||
</tr>
|
||||
<tr>
|
||||
<td>{=L:set.nhttpd.port=}</td>
|
||||
<td><input type="text" name="port" size="20" value="{=ini-get:/var/tuxbox/config/nhttpd.conf;WebsiteMain.port;80~cache=}" title="{=L:port=}"/> {=L:active_after_boot=}
|
||||
<td><input type="text" name="port" size="20" value="{=ini-get:/var/tuxbox/config/nhttpd.conf;WebsiteMain.port;80~cache=}" title="{=L:set.nhttpd.port=}"/> {=L:set.nhttpd.active_after_boot=}
|
||||
</td>
|
||||
</tr>
|
||||
{=if-not-equal:{=global-var-get:boxtype=}~coolstream~
|
||||
@@ -76,8 +76,15 @@ function do_submit()
|
||||
=}
|
||||
<tr>
|
||||
<td>{=L:set.nhttpd.alternate_web_folder=}</td>
|
||||
<td><input type="text" name="override_directory" size="20" value="{=ini-get:/var/tuxbox/config/nhttpd.conf;WebsiteMain.override_directory~cache=}" title="{=L:alternate_web_folder=}"/> {=L:active_after_boot=}
|
||||
<input type="hidden" name="HostedDocRoot" size="60" value="{=ini-get:/var/tuxbox/config/nhttpd.conf;WebsiteMain.hosted_directory~cache=}" title="Root of hosted Web. Enter mount directory."/></td>
|
||||
<td>
|
||||
<input type="text" name="override_directory" size="20" value="{=ini-get:/var/tuxbox/config/nhttpd.conf;WebsiteMain.override_directory~cache=}" title="{=L:set.nhttpd.alternate_web_folder=}"/> {=L:set.nhttpd.active_after_boot=}
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>{=L:set.nhttpd.hosted_folder=}</td>
|
||||
<td>
|
||||
<input type="text" name="hosted_directory" size="20" value="{=ini-get:/var/tuxbox/config/nhttpd.conf;WebsiteMain.hosted_directory~cache=}" title="Root of hosted Web. Enter mount directory."/> {=L:set.nhttpd.active_after_boot=}
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>{=L:set.nhttpd.allowed_file_extensions=}</td>
|
||||
|
@@ -303,6 +303,7 @@ set.nhttpd.active_after_boot=Nach Neustart aktiv
|
||||
set.nhttpd.port=Port
|
||||
set.nhttpd.threading=Threading
|
||||
set.nhttpd.alternate_web_folder=Alternativer Web-Ordner
|
||||
set.nhttpd.hosted_folder=Eingebundenes Verzeichnis
|
||||
set.nhttpd.allowed_file_extensions=Erlaubte Dateiendungen / MIME
|
||||
set.nhttpd.allow_all_file_extensions=Alle Dateiendungen erlauben
|
||||
set.nhttpd.url_of_logos_desc=URL bzw. Verzeichnis der Logos eingeben
|
||||
|
@@ -306,6 +306,7 @@ set.nhttpd.active_after_boot=active after boot
|
||||
set.nhttpd.port=Port
|
||||
set.nhttpd.threading=Threading
|
||||
set.nhttpd.alternate_web_folder=Alternate Web-Folder
|
||||
set.nhttpd.hosted_folder=Mounted directory
|
||||
set.nhttpd.allowed_file_extensions=Allowed File Extensions / MIME
|
||||
set.nhttpd.allow_all_file_extensions=Allow all File Extensions
|
||||
set.nhttpd.url_of_logos_desc=Enter URL or directory of Logos
|
||||
|
Reference in New Issue
Block a user