Synchronet v3.17b-Win32 (install) has been released (Jan-2019).

New Synchronet YouTube channel

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 revision Previous revision
Next revision
Previous revision
server:web [2015/11/02 11:13]
deuce [webctrl.ini per-directory configuration file] Add FastCGISocket documentation.
server:web [2015/11/09 21:04] (current)
deuce [webctrl.ini per-directory configuration file] Move AccessRequirements example into AccessRequirements section.
Line 173: Line 173:
 Disable SSJS execution. Disable SSJS execution.
  
 +''​ALLOW_TLS''​
  
 +Enable TLS support.
 ==== Other configuration files ==== ==== Other configuration files ====
  
Line 222: Line 224:
 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. ​ Will force an HTTP login. files in this directory. ​ Will force an HTTP login.
 +
 +For example, to require a login, but allow **any** user to access files in a
 +directory, but only a sysop to access ''​*.log''​ files and .git directories,​ the following could be used:
 +<file webctrl.ini>​
 +AccessRequirements=level 0
 +[*.log]
 +AccessRequirements=level 90
 +[*.git]
 +AccessRequirements=level 90
 +</​file>​
  
 === Realm === === Realm ===
Line 248: Line 260:
 Specifies that the index files can be ran for unlocated pages in the Specifies that the index files can be ran for unlocated pages in the
 current directory. ​ This effecively works like a custom 404 page. current directory. ​ This effecively works like a custom 404 page.
- 
-For example, to require a login, but allow **any** user to access files in a 
-directory, but only a sysop to access ''​*.log''​ files and .git directories,​ the following could be used: 
-<file webctrl.ini>​ 
-AccessRequirements=level 0 
-[*.log] 
-AccessRequirements=level 90 
-[*.git] 
-AccessRequirements=level 90 
-</​file>​ 
  
 === FastCGISocket === === FastCGISocket ===
Line 269: Line 271:
  
 See [[howto:​php]] for details on using with PHP. See [[howto:​php]] for details on using with PHP.
 +
 +=== Rewrite* ===
 +Specifies a Javascript snippet which can modify the http_request.request_string. ​ This allows internal redirects like the RewriteRule feature in Apache .htaccess files. ​ The key must *begin* with the string "​Rewrite"​ which may be followed by any legal INI key characters. ​ The order of execution is not guaranteed.
 +
 +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. ​ This allows load()ing some common code before execution... ie: ''​JSPreExec=load(js.startup_dir+'/​rewrite_lib.js'​);''​.
 +
 +Added on November 3rd, 2015 to CVS (in 3.17a).
 +
 ===== JavaScript Objects ===== ===== JavaScript Objects =====
 In addition to the standard JavaScript objects, the web server provides the In addition to the standard JavaScript objects, the web server provides the

In Other Languages