-/* $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
* 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 $';
* Create VHost object
*/
try {
- this.htdocs_root = new Root(o.root + '/htdocs');
+ this.htdocs_root = new Root(o.root);
} catch (x) {
throw (x);
}
-/* $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 */
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 */