Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
server:web [2010/02/22 22:22] – Links to config:startup_ini changed to config:sbbs.ini digitalman | server:web [2015/11/09 21:04] – [webctrl.ini per-directory configuration file] Move AccessRequirements example into AccessRequirements section. deuce | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== Web Server ====== | ====== Web Server ====== | ||
+ | |||
+ | The Synchronet Web Server serves static (e.g. files) and dynamic content to HTTP clients (e.g. web browsers). | ||
===== Introduction ===== | ===== Introduction ===== | ||
Line 47: | Line 49: | ||
=== Authorization === | === Authorization === | ||
- | Default value: '' | + | Default value: '' |
A comma-separated list of authentication mechanisms in order of preference. | A comma-separated list of authentication mechanisms in order of preference. | ||
Line 171: | Line 173: | ||
Disable SSJS execution. | Disable SSJS execution. | ||
+ | '' | ||
+ | Enable TLS support. | ||
==== Other configuration files ==== | ==== Other configuration files ==== | ||
Line 214: | Line 218: | ||
Each directory under the [[# | Each directory under the [[# | ||
the directory it's in and all child directories. | the directory it's in and all child directories. | ||
- | either globally, | + | either globally, in a per-filename group, or, in version 3.17 or greater, a per-directory-name group. |
- | the group name such as '' | + | Using the * and ? wildcards as the group name such as '' |
=== AccessRequirements === | === AccessRequirements === | ||
Specifices an ARS string which all users must match to be able to access | Specifices an ARS string which all users must match to be able to access | ||
files in this directory. | files in this directory. | ||
+ | |||
+ | For example, to require a login, but allow **any** user to access files in a | ||
+ | directory, but only a sysop to access '' | ||
+ | <file webctrl.ini> | ||
+ | AccessRequirements=level 0 | ||
+ | [*.log] | ||
+ | AccessRequirements=level 90 | ||
+ | [*.git] | ||
+ | AccessRequirements=level 90 | ||
+ | </ | ||
=== Realm === | === Realm === | ||
Line 247: | Line 261: | ||
current directory. | current directory. | ||
- | For example, to require a login, but allow **any** user to access files in a | + | === FastCGISocket === |
- | directory, but only a sysop to access '' | + | Specifies the socket and port of a FastCGI listener in the < |
<file webctrl.ini> | <file webctrl.ini> | ||
- | AccessRequirements=level 0 | + | [*.php] |
- | [*.log] | + | FastCGISocket=127.0.0.1: |
- | AccessRequirements=level 90 | + | |
</ | </ | ||
+ | Added on November 1st, 2015 to CVS (in 3.17a). | ||
+ | |||
+ | See [[howto: | ||
+ | |||
+ | === Rewrite* === | ||
+ | Specifies a Javascript snippet which can modify the http_request.request_string. | ||
+ | |||
+ | Added on November 3rd, 2015 to CVS (in 3.17a). | ||
+ | |||
+ | === JSPreExec === | ||
+ | A JavaScript snippet which is executed in the same context as Rewrite* lines, but before any Rewrites are executed. | ||
+ | |||
+ | Added on November 3rd, 2015 to CVS (in 3.17a). | ||
===== JavaScript Objects ===== | ===== JavaScript Objects ===== | ||
Line 711: | Line 737: | ||
check for files. | check for files. | ||
+ | {{indexmenu_n> | ||