Synchronet v3.21e-Win32 (install) has been released (Mar-2026).

You can donate to the Synchronet project using PayPal.

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
server:web [2026/02/12 02:15] – Add table of supported CustomLogFormat directives digital manserver:web [2026/03/04 13:51] (current) – [Reference] mention letsyncrypt nelgin
Line 89: Line 89:
 | OutbufDrainTimeout       | ''10''           | Number of milliseconds to wait for output buffer to drain | | OutbufDrainTimeout       | ''10''           | Number of milliseconds to wait for output buffer to drain |
 | TempDirectory            | ''../temp/''     | Override default temporary file directory | | TempDirectory            | ''../temp/''     | Override default temporary file directory |
 +| LoginRequirements        | [global]         | [[:Access:]] [[:access:requirements]] (in ARS format) for users to be allowed login |
 | LoginAttempt*            | [global]         | Failed login attempt throttling / filtering / banning | | LoginAttempt*            | [global]         | Failed login attempt throttling / filtering / banning |
 | LoginInfoSave            |                  | An optional [[access:requirements|ARS]] that can be used to limit which users will have their login details saved to the userbase | | LoginInfoSave            |                  | An optional [[access:requirements|ARS]] that can be used to limit which users will have their login details saved to the userbase |
Line 153: Line 154:
  
 **NOTE**: Older versions of Synchronet had this value default to ''../web/html'' **NOTE**: Older versions of Synchronet had this value default to ''../web/html''
 +
 +**NOTE**: If you change the root directory and use letsyncrypt for your certificate management, you will want to update the Domains section of letsyncrypt.ini in the ctrl directory. You will also need to do that if you have a virtual host so Let's Encrypt can find the correct document root.
 +
  
 === ErrorDirectory === === ErrorDirectory ===
Line 237: Line 241:
 When the ''CustomLogFormat'' setting is not used, the default format is the Apache "Combined Log Format". When the ''CustomLogFormat'' setting is not used, the default format is the Apache "Combined Log Format".
  
-When the ''CustomLogFormat'' setting is used, the supported Apache Custom Log Format directives are:+When the ''CustomLogFormat'' setting is used, the supported [[https://httpd.apache.org/docs/current/mod/mod_log_config.html|Apache Custom Log Format directives]] are:
  
 | %% | The percent sign |  | %% | The percent sign | 
Line 246: Line 250:
 | %H | The request protocol |  | %H | The request protocol | 
 | %l | Remote logname (from identd, if supplied) |  | %l | Remote logname (from identd, if supplied) | 
 +| %p | Server TCP port number |
 | %r | First line of request |  | %r | First line of request | 
 | %s | Status |  | %s | Status | 
Line 253: Line 258:
 | %{remote}p | the client's actual port |  | %{remote}p | the client's actual port | 
 | %{Referer}i | the HTTP Referer [sic] header line |  | %{Referer}i | the HTTP Referer [sic] header line | 
-| %{User-agent}i | the HTTP User-agent header line | +| %{User-agent}i | the HTTP User-agent header line | 
 + 
 +Note: Double-quote characters used in the format string do **not** need to be escaped (i.e. with a backslash) 
 + 
 +Example: 
 + 
 +This is the equivalent of Apache's combined log format which is used by default. 
 + 
 +    CustomLogFormat = %h %l %u %t "%r" %s - "%{Referer}i" "%{User-agent}i" 
 + 
 +This is the equivalent of Apache's vhost_combined log format. 
 +     
 +    CustomLogFormat = %v:%p %h %l %u %t "%r" %s - "%{Referer}i" "%{User-agent}i" 
  
 === FileVPathPrefix === === FileVPathPrefix ===