*** empty log message ***
authorMatthew Mondor <mmondor@pulsar-zone.net>
Sun, 10 Jul 2005 20:12:21 +0000 (20:12 +0000)
committerMatthew Mondor <mmondor@pulsar-zone.net>
Sun, 10 Jul 2005 20:12:21 +0000 (20:12 +0000)
tests/js-test/js/httpd/httpd.js
tests/js-test/js/httpd/options.js

index 6cd2ea8..3af487d 100644 (file)
@@ -1,4 +1,4 @@
-/* $Id: httpd.js,v 1.49 2005/07/10 18:18:27 mmondor Exp $ */
+/* $Id: httpd.js,v 1.50 2005/07/10 20:12:21 mmondor Exp $ */
 
 /*
  * Copyright (c) 2005, Matthew Mondor
@@ -115,7 +115,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.49 2005/07/10 18:18:27 mmondor Exp $';
+SERVER_CVSID   = '$Id: httpd.js,v 1.50 2005/07/10 20:12:21 mmondor Exp $';
 
 
 
@@ -155,7 +155,7 @@ function VHost(o)
         * Create VHost object
         */
        try {
-               this.htdocs_root = new Root(o.root + '/htdocs');
+               this.htdocs_root = new Root(o.root);
        } catch (x) {
                throw (x);
        }
index 72c7a70..a9d7645 100644 (file)
@@ -1,17 +1,17 @@
-/* $Id: options.js,v 1.10 2005/07/10 18:18:27 mmondor Exp $ */
+/* $Id: options.js,v 1.11 2005/07/10 20:12:21 mmondor Exp $ */
 
 var options = {
        max_connections:        32,
        max_connections_addr:   4,
        io_timeout:             60,
        readbuf_size:           16384,
-       default_vhost:          "hal.xisop",
+       default_vhost:          "chat.pulsar-zone.net",
        default_mimetype:       "application/octet-stream",
        default_charset:        "us-ascii",
        default_session_exp:    1800,
        sess_gc_interval:       600,
        sess_id_size:           64,
-       ban_msie:               true
+       ban_msie:               false
 };
 
 /* Address:port combinations to listen to */
@@ -29,12 +29,11 @@ var listen = [
 var vhosts = [
        /* Default virtual host */
        {
-               name:           "hal.xisop",
-               aliases:        [ "hal", "localhost" ],
-               root:           "/home/mmondor/jswww/welcome",
+               name:           "chat.pulsar-zone.net",
+               root:           "/home/mmondor/jswww/chat",
                scripts:        true,
                charset:        'iso-8859-1',
-               session_exp:    3600
+               session_exp:    14400
        },
 
        /* Dynamic application virtual host for ascpi.com */