*** empty log message ***
authorMatthew Mondor <mmondor@pulsar-zone.net>
Sat, 9 Jul 2005 08:07:55 +0000 (08:07 +0000)
committerMatthew Mondor <mmondor@pulsar-zone.net>
Sat, 9 Jul 2005 08:07:55 +0000 (08:07 +0000)
tests/js-test/js/httpd/httpd.js

index 96c33ed..d24c8ad 100644 (file)
@@ -1,4 +1,4 @@
-/* $Id: httpd.js,v 1.39 2005/07/09 08:05:08 mmondor Exp $ */
+/* $Id: httpd.js,v 1.40 2005/07/09 08:07:55 mmondor Exp $ */
 
 /*
  * Copyright (c) 2005, Matthew Mondor
  *   I'm not sure HTTP protocol is well suited to this type of limiting,
  *   some testing will be required.
  * - Provide a function to scripts to redirect to another page.
+ * - We might want vhost-specific default login page, and provide
+ *   an easy means in the server to have non-authenticated users automatically
+ *   redirected to that page using server-side magic.  A special session
+ *   variable should be used for this, and registered when the user logins.
+ * - Similar to the above, but should be special provision for scripts to
+ *   easily specify their required access level, which must be met by a
+ *   currently logged in user, which is otherwise redirected to an
+ *   application-specific page.
  */
 
 
@@ -98,7 +106,7 @@ eval(file_read('root.js'));          /* Root object for virtual chroot(2) */
  * Server identification
  */
 SERVER_VERSION                 = 'mmondor_js_httpd/0.0.1 (NetBSD)';
-SERVER_CVSID   = '$Id: httpd.js,v 1.39 2005/07/09 08:05:08 mmondor Exp $';
+SERVER_CVSID   = '$Id: httpd.js,v 1.40 2005/07/09 08:07:55 mmondor Exp $';