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
Next revisionBoth sides next revision
server:web [2014/07/25 02:26] – Fix Authorization default value. deuceserver:web [2020/03/10 11:33] – Apparently http:// assplodes everything... fix. Deuce
Line 173: Line 173:
 Disable SSJS execution. Disable SSJS execution.
  
 +''ALLOW_TLS''
 +
 +Enable TLS support.
 +
 +''HSTS_SAFE''
 +
 +Indicates that all URLs availabe via http are also available via https and redirects clients who want a TLS session to the https location.
  
 ==== Other configuration files ==== ==== Other configuration files ====
Line 222: Line 229:
 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 249: Line 266:
 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 +=== FastCGISocket === 
-directory, but only sysop to access ''*.log'' files and .git directories, the following could be used:+Specifies the socket and port of FastCGI listener in the <Address>:<Port> format (ie: 127.0.0.1:9000).  Should be used with wildcard sections like this:
 <file webctrl.ini> <file webctrl.ini>
-AccessRequirements=level 0 +[*.php
-[*.log+FastCGISocket=127.0.0.1:9000
-AccessRequirements=level 90 +
-[*.git] +
-AccessRequirements=level 90+
 </file> </file>
  
 +Added on November 1st, 2015 to CVS (in 3.17a).
 +
 +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 =====
server/web.txt · Last modified: 2023/12/23 02:14 by digital man
Back to top
CC Attribution 4.0 International
Driven by DokuWiki Recent changes RSS feed Valid CSS Valid XHTML 1.0