Update of /cvsroot/webware/Webware/WebKit/Docs
In directory usw-pr-cvs1:/tmp/cvs-serv21231/WebKit/Docs
Modified Files:
Application.configlist RelNotes-0.6.1.html UsersGuide.html
Log Message:
checking in Tavis's implementation of Application.config settings ExtensionsToServe, UseExtensionCascading, ExtensionCascadeOrder, FilesToHide, and FilesToServe
Index: Application.configlist
===================================================================
RCS file: /cvsroot/webware/Webware/WebKit/Docs/Application.configlist,v
retrieving revision 1.7
retrieving revision 1.8
diff -C2 -d -r1.7 -r1.8
*** Application.configlist 2001/10/17 21:43:14 1.7
--- Application.configlist 2001/12/19 13:38:09 1.8
***************
*** 8,11 ****
--- 8,21 ----
('ExtensionsToIgnore', "['.pyc', '.pyo', '.py~', '.bak']", 'This is a list of extensions that WebKit will ignore when autodetecting extensions. Note that this does not prevent WebKit from serving such a file if it is named explicitly in a URL.'),
+ ('ExtensionsToServe', "[]", 'This is a list of extensions that WebKit will use exclusively when autodetecting extensions. Note that this does not prevent WebKit from serving such a file if it is named explicitly in a URL.'),
+
+ ('UseExtensionCascading', "1", 'Should extension cascading be used when autodetecting extensions'),
+
+ ('ExtensionCascadeOrder', "['.psp', '.py', '.html']", 'This is a list of extensions that WebKit will cascade through when autodetecting extensions. Note that this has no effect if the extension is named explicitly in a URL.'),
+
+ ('FilesToHide', "['.*','*~', '*bak', '*.tmpl', ]", 'File patterns to protect from browsing.'),
+
+ ('FilesToServe', "[]", 'File patterns to serve from exclusively. If the file being served for a particulary request does not match one of these patterns an HTTP403 Forbidden error will be return.'),
+
('LogActivity', '1', "If true, then the execution of each servlet is logged with useful information such as time, duration and whether or not an error occurred."),
Index: RelNotes-0.6.1.html
===================================================================
RCS file: /cvsroot/webware/Webware/WebKit/Docs/RelNotes-0.6.1.html,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** RelNotes-0.6.1.html 2001/12/18 21:33:59 1.3
--- RelNotes-0.6.1.html 2001/12/19 13:38:09 1.4
***************
*** 45,48 ****
--- 45,57 ----
<li> Fixed hanging and crashing problems in wkcgi.exe.
+ <li> Added new Application.config settings (see User's Guide for details):
+ <ul>
+ <li>ExtensionsToServe
+ <li>UseExtensionCascading
+ <li>ExtensionCascadeOrder
+ <li>FilesToHide
+ <li>FilesToServe
+ </ul>
+
</ul>
Index: UsersGuide.html
===================================================================
RCS file: /cvsroot/webware/Webware/WebKit/Docs/UsersGuide.html,v
retrieving revision 1.14
retrieving revision 1.15
diff -C2 -d -r1.14 -r1.15
*** UsersGuide.html 2001/12/10 06:53:48 1.14
--- UsersGuide.html 2001/12/19 13:38:09 1.15
***************
*** 227,230 ****
--- 227,272 ----
<p><dl class=config>
+ <dt class=config><span class=setting>ExtensionsToServe</span>
+ <code> = []</code></dt>
+ <dd class=config>
+ This is a list of extensions that WebKit will use exclusively when autodetecting extensions. Note that this does not prevent WebKit from serving such a file if it is named explicitly in a URL.
+ </dd>
+ </dl></p>
+
+ <p><dl class=config>
+ <dt class=config><span class=setting>UseExtensionCascading</span>
+ <code> = 1</code></dt>
+ <dd class=config>
+ Should extension cascading be used when autodetecting extensions
+ </dd>
+ </dl></p>
+
+ <p><dl class=config>
+ <dt class=config><span class=setting>ExtensionCascadeOrder</span>
+ <code> = </code></dt>
+ <dd class=config>
+ <code>['.psp', '.py', '.html']</code>
+ <br> This is a list of extensions that WebKit will cascade through when autodetecting extensions. Note that this has no effect if the extension is named explicitly in a URL.
+ </dd>
+ </dl></p>
+
+ <p><dl class=config>
+ <dt class=config><span class=setting>FilesToHide</span>
+ <code> = </code></dt>
+ <dd class=config>
+ <code>['.*','*~', '*bak', '*.tmpl', ]</code>
+ <br> File patterns to protect from browsing.
+ </dd>
+ </dl></p>
+
+ <p><dl class=config>
+ <dt class=config><span class=setting>FilesToServe</span>
+ <code> = []</code></dt>
+ <dd class=config>
+ File patterns to serve from exclusively. If the file being served for a particulary request does not match one of these patterns an HTTP403 Forbidden error will be return.
+ </dd>
+ </dl></p>
+
+ <p><dl class=config>
<dt class=config><span class=setting>LogActivity</span>
<code> = 1</code></dt>
***************
*** 464,468 ****
</dd>
</dl></p>
-
<a name=Administration><h2>Administration</h2></a>
--- 506,509 ----
|