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/21 21:39] – digitalman | server:web [2014/07/25 02:26] – Fix Authorization default value. 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 15: | Line 17: | ||
==== Startup INI [Web] Section Keys ==== | ==== Startup INI [Web] Section Keys ==== | ||
- | The '' | + | The '' |
=== RootDirectory === | === RootDirectory === | ||
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 111: | Line 113: | ||
Default value: '' | Default value: '' | ||
- | The '' | + | The '' |
'' | '' | ||
Line 174: | Line 176: | ||
==== Other configuration files ==== | ==== Other configuration files ==== | ||
- | In addition to the '' | + | In addition to the '' |
also uses some other configuration files: | also uses some other configuration files: | ||
Line 214: | Line 216: | ||
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 === | ||
Line 248: | Line 250: | ||
For example, to require a login, but allow **any** user to access files in a | For example, to require a login, but allow **any** user to access files in a | ||
- | directory, but only a sysop to access '' | + | directory, but only a sysop to access '' |
<file webctrl.ini> | <file webctrl.ini> | ||
AccessRequirements=level 0 | AccessRequirements=level 0 | ||
[*.log] | [*.log] | ||
+ | AccessRequirements=level 90 | ||
+ | [*.git] | ||
AccessRequirements=level 90 | AccessRequirements=level 90 | ||
</ | </ | ||
Line 470: | Line 474: | ||
<code javascript> | <code javascript> | ||
- | | + | var DefaultTheme=" |
</ | </ | ||
to: | to: | ||
<code javascript> | <code javascript> | ||
- | | + | var DefaultTheme=" |
</ | </ | ||
Line 537: | Line 541: | ||
'' | '' | ||
- | i.e.; Spaces are replaced with: this& | + | i.e.; Spaces are replaced with: '' |
'' | '' | ||
- | i.e.; Spaces are replaced with: this%20is%20URI | + | i.e.; Spaces are replaced with: |
| | ||
- | '' | + | '' |
No changes or encoding is performed. | No changes or encoding is performed. | ||
- | '' | + | '' |
(^^ and %% are also supported) | (^^ and %% are also supported) | ||
- | '' | + | '' |
(^^ and %% are also supported) | (^^ and %% are also supported) | ||
Line 559: | Line 563: | ||
</ | </ | ||
- | Iterates over the array/ | + | Iterates over the array/ |
- | the value of template.name.sname. | + | the value of '' |
(^^ and %% are also supported) | (^^ and %% are also supported) | ||
Line 711: | Line 715: | ||
check for files. | check for files. | ||
+ | {{indexmenu_n> | ||